Files
RCBASIC4/doc/bu/files/applyactortorqueimpulselocal.txt

11 lines
515 B
Plaintext

#title applyActorTorqueImpulseLocal [RCBasic Doc]
#header sub applyActorTorqueImpulseLocal( actor, x, y, z)
Applies an impulse that directly affects the angular velocity of an actor, causing it to rotate. This is similar to applying an impulse, but instead of changing the linear velocity (which applyActorCentralImpulse does), it alters the body's rotational motion (angular velocity) instantaneously.
#list ul
#li x, y, z - Direction of rotation
#/list
#ref ApplyActorTorque ApplyActorTorqueImpulseWorld