Files
RCBASIC4/doc/files/getactorrotationq.txt
2024-12-15 23:12:45 -05:00

9 lines
323 B
Plaintext

#title GetActorRotationQ [RCBasic Doc]
#header sub GetActorRotationQ( actor, ByRef x, ByRef y, ByRef z, ByRef w)
Gets the actors rotation as a quaternion.
Note: This is useful for calculations that require quaternion but most developers should just use GetActorTransform()
#ref GetActorRotation SetActorRotation