![]() |
Xors3d Engine
|
Functions | |
float | xEntityGetAngularVelocityX (Entity *entity, bool isGlobal=true) |
Returns the x-component of the angular velocity of the entity's body. | |
float | xEntityGetAngularVelocityY (Entity *entity, bool isGlobal=true) |
Returns the y-component of the angular velocity of the entity's body. | |
float | xEntityGetAngularVelocityZ (Entity *entity, bool isGlobal=true) |
Returns the z-component of the angular velocity of the entity's body. | |
float | xEntityGetLinearVelocityX (Entity *entity, bool isGlobal=true) |
Returns the x-component of the linear velocity of the entity's body. | |
float | xEntityGetLinearVelocityY (Entity *entity, bool isGlobal=true) |
Returns the y-component of the linear velocity of the entity's body. | |
float | xEntityGetLinearVelocityZ (Entity *entity, bool isGlobal=true) |
Returns the z-component of the linear velocity of the entity's body. | |
void | xEntitySetAngularVelocity (Entity *entity, float x, float y, float z, bool isGlobal=true) |
Sets the angular velocity of the entity's body. | |
void | xEntitySetLinearVelocity (Entity *entity, float x, float y, float z, bool isGlobal=true) |
Sets the linear velocity of the entity's body. |
void xEntitySetLinearVelocity | ( | Entity * | entity, |
float | x, | ||
float | y, | ||
float | z, | ||
bool | isGlobal = true |
||
) |
Sets the linear velocity of the entity's body.
entity | Entity handle. |
x | X-component of the velocity vector. |
y | Y-component of the velocity vector. |
z | Z-component of the velocity vector. |
isGlobal | True to set the velocity in global coordinates. False - in local coordinates. Default value is true. |
float xEntityGetLinearVelocityX | ( | Entity * | entity, |
bool | isGlobal = true |
||
) |
Returns the x-component of the linear velocity of the entity's body.
entity | Entity handle. |
isGlobal | True to get a velocity in global coordinates. False - in local coordinates. Default value is true. |
float xEntityGetLinearVelocityY | ( | Entity * | entity, |
bool | isGlobal = true |
||
) |
Returns the y-component of the linear velocity of the entity's body.
entity | Entity handle. |
isGlobal | True to get a velocity in global coordinates. False - in local coordinates. Default value is true. |
float xEntityGetLinearVelocityZ | ( | Entity * | entity, |
bool | isGlobal = true |
||
) |
Returns the z-component of the linear velocity of the entity's body.
entity | Entity handle. |
isGlobal | True to get a velocity in global coordinates. False - in local coordinates. Default value is true. |
void xEntitySetAngularVelocity | ( | Entity * | entity, |
float | x, | ||
float | y, | ||
float | z, | ||
bool | isGlobal = true |
||
) |
Sets the angular velocity of the entity's body.
entity | Entity handle. |
x | X-component of the velocity vector. |
y | Y-component of the velocity vector. |
z | Z-component of the velocity vector. |
isGlobal | True to set the velocity in global coordinates. False - in local coordinates. Default value is true. |
float xEntityGetAngularVelocityX | ( | Entity * | entity, |
bool | isGlobal = true |
||
) |
Returns the x-component of the angular velocity of the entity's body.
entity | Entity handle. |
isGlobal | True to get a velocity in global coordinates. False - in local coordinates. Default value is true. |
float xEntityGetAngularVelocityY | ( | Entity * | entity, |
bool | isGlobal = true |
||
) |
Returns the y-component of the angular velocity of the entity's body.
entity | Entity handle. |
isGlobal | True to get a velocity in global coordinates. False - in local coordinates. Default value is true. |
float xEntityGetAngularVelocityZ | ( | Entity * | entity, |
bool | isGlobal = true |
||
) |
Returns the z-component of the angular velocity of the entity's body.
entity | Entity handle. |
isGlobal | True to get a velocity in global coordinates. False - in local coordinates. Default value is true. |