TOKRB_GetRoll(RigidBody%) |
Parameters: RigidBody% = Rigid Body handle |
Return value: Rigid body's Roll |
Description: Retrieves an object's Roll |
Call this function for every obj/rb before renderworld/updateworld. By TheCrow. Function PositionAndRotate(obj,rb) PositionEntity obj,TOKRB_GetX(rb),TOKRB_GetY(rb),TOKRB_GetZ(rb) RotateEntity obj,TOKRB_GetPitch(rb),TOKRB_GetYaw(rb),TOKRB_GetRoll(rb) End Function |