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

7 lines
498 B
Plaintext

#title ComputeActorGyroImpulseLocal [RCBasic Doc]
#header sub ComputeActorGyroImpulseLocal( actor, dt, ByRef x, ByRef y, ByRef z)
Computes the gyroscopic impulse for an actor in an implicit manner, based on the actor's current angular velocity and inertia. This function is used to simulate the gyroscopic effect—also known as gyroscopic precession—which occurs when a rotating object experiences a torque that causes its axis of rotation to change.
#ref ComputeActorGyroImpulseWorld