![]() |
Xors3d Engine
|
Functions | |
BBDECL void BBCALL | xEntityBodyLocalPosition (Entity *entity, float x, float y, float z) |
Sets a local position of the entity's body. | |
BBDECL void BBCALL | xEntityBodyLocalRotation (Entity *entity, float pitch, float yaw, float roll) |
Sets a local rotation of the entity's body. | |
BBDECL void BBCALL | xEntityBodyLocalScale (Entity *entity, float x, float y, float z) |
Sets a local scale of the entity's body. |
BBDECL void BBCALL xEntityBodyLocalPosition | ( | Entity * | entity, |
float | x, | ||
float | y, | ||
float | z | ||
) |
Sets a local position of the entity's body.
This function is useful in case the automatic entity-body centering doesn't fit your needs.
entity | Entity handle |
x | X coordinate of the new position |
y | Y coordinate of the new position |
z | Z coordinate of the new position |
BBDECL void BBCALL xEntityBodyLocalRotation | ( | Entity * | entity, |
float | pitch, | ||
float | yaw, | ||
float | roll | ||
) |
Sets a local rotation of the entity's body.
This function is useful in case the automatic entity-body centering doesn't fit your needs.
entity | Entity handle |
pitch | New pitch angle |
yaw | New yaw angle |
roll | New roll angle |
BBDECL void BBCALL xEntityBodyLocalScale | ( | Entity * | entity, |
float | x, | ||
float | y, | ||
float | z | ||
) |
Sets a local scale of the entity's body.
This function is useful in case the automatic entity-body scaling doesn't fit your needs.
entity | Entity handle |
x | Scale along X axis |
y | Scale along Y axis |
z | Scale along Z axis |