AnimObject_Update



AnimObject_Update pAnimObj [, bUpdatePalette ]

Description

Updates the specified AnimObject's animation and calculates skeleton transforms. Animations will be advanced by the amount of time which was passed into JGS_Update.
This command is only needed if you require access to bone transforms, or if the AnimObject has dbpro objects glued to it's skeleton.
If the optional bUpdatePalette flag is set to true, the AnimObject's bone palette (shader array) will be updated as well. This parameter should be set to false if you intend to alter the skeleton in any way before rendering.

Parameters

pAnimObjINTEGERThe AnimObject which is to be updated
bUpdatePaletteBOOLEANOptional; True if the animobject's bone palette should be updated as well


AnimObject Commands
jGpuSkin Command Index
jGpuSkin Main