AnimBone_GetRotation



AnimBone_GetRotation pAnimBone, Mode

Description

Calculates an object's Euler rotation angles within the specified coordinate space. After calling this command, the angle values can be retrieved using JGS_VectorX(), JGS_VectorY() and JGS_VectorZ(). Possible mode flags include:
0 = Local
1 = Offset
2 = Combined Local+Offset
3 = Object
4 = World

Parameters

pAnimBoneINTEGERThe AnimBone who's rotation is being queried
ModeINTEGERCoordinate system identifier


AnimBone Commands
jGpuSkin Command Index
jGpuSkin Main