AnimBone_SetRotation



AnimBone_SetRotation pAnimBone, X, Y, Z, Mode

Description

Sets an AnimBone's rotation using the specified mode flag. Possible mode flags include:
0 = Sets the AnimBone's local rotation
1 = Offsets the AnimBone's local rotation

The AnimObject must be updated using AnimObject_Update before the changes will become visible.

Parameters

pAnimBoneINTEGERThe AnimBone who's rotation is being modified
XFLOATX Rotation Angle
YFLOATY Rotation Angle
ZFLOATZ Rotation Angle
ModeINTEGERMode value


AnimBone Commands
jGpuSkin Command Index
jGpuSkin Main