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

7 lines
464 B
Plaintext

#title GetActorVelocityInLocalPoint [RCBasic Doc]
#header Sub GetActorVelocityInLocalPoint( actor, rel_x, rel_y, rel_z, ByRef x, ByRef y, ByRef z)
Gets the linear velocity of a specific point on an actor, given its position in the actor's local coordinate space. This is useful for determining how fast and in what direction a particular point on the actor is moving, accounting for both the body's linear velocity and its rotational motion (angular velocity).