TOKAB_SetPosition(AnimatedBody%,X#,Y#,Z#)
Parameters:
AnimatedBody% = Animated body's handle
X# = X component of position
Y# = Y component of position
Z# = Z component of position
Return value:
None
Description:
Sets an animated body's position. Note that this can be used dynamically while still properly updating collisions
The classic use of animated bodies, the floor
ground = CreateCube()
EntityColor ground,5,5,55
ScaleEntity ground,50,5,50
PositionEntity ground,0,-5,0
abground = TOKAB_Create()
TOKAB_AddBox(abground,100.0,10.0,100.0)
TOKAB_SetPosition(abground,0.0,-5.0,0.0)



Documentation generated by Cod2Doc on 20 Jun 2004.