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

12 lines
568 B
Plaintext

#title ApplyActorCentralImpulseLocal [RCBasic Doc]
#header Sub ApplyActorCentralImpulseLocal( actor, x, y, z)
Applies an impulse directly to the center of mass of an actor. An impulse differs from a continuous force in that it applies an immediate, short-duration change to the velocity of the actor. It affects the linear velocity but does not generate rotational effects (since it's applied to the center of mass).
#list
#li x,y,z - direction of the impulse
#/list
#ref ApplyActorCentralForceLocal ApplyActorCentralForceWorld ApplyActorCentralImpulseWorld