TOKAB_Create() |
Return value: Animated body's handle |
Description: Creates a Tokamak animated body. This is an object that rigid bodys collide with, and you can use this to get collision info. |
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) |