SetObject3DPhysicsAngularVelocity
Description
Sets the angular velocity of the object. The angle vector is automatically normalized.
Definition
SetObject3DPhysicsAngularVelocity( objID, angX, angY, angZ, initialSpeed )
void agk::SetObject3DPhysicsAngularVelocity( uint32_t objID, float angX, float angY, float angZ, float initialSpeed )
SetObject3DPhysicsAngularVelocity( objID, vectorID, initialSpeed )
void agk::SetObject3DPhysicsAngularVelocity( uint32_t objID, uint32_t vectorID, float initialSpeed )
Parameters
- objID - object ID
- angX - the X component of the angle vector
- angY - the Y component of the angle vector
- angZ - the Z component of the angle vector
- initialSpeed - the initial speed.
- vectorID - ID of direction Vector.