Files
RCBASIC4/doc/files/applyactortorqueimpulselocal.txt
2026-02-26 15:33:51 -06:00

12 lines
516 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