2D collision simulation (Tokamak)

Blitz3D Forums/Blitz3D Programming/2D collision simulation (Tokamak)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ok using Tokamak i've successfully achieve this :

You simply have to use the Skidracer code Pixies ( http://blitzbasic.com/codearcs/codearcs.php?code=773 ).
Then set every rigidBodies (or AnimatedBodies) constraint like this :
TOKRB_SetRotation(rigidBody,0,0,TOKRB_GetRoll#(rigidBody))
TOKRB_SetPosition(rigidBody,TOKRB_GetX#(rigidBody),TOKRB_GetY#(rigidBody),Zpos)

And Finally set your Pixies position with cameraProject:
CameraProject camera,TOKRB_GetX#(rigidBody),TOKRB_GetY#(rigidBody),Zpos
PositionEntity pixies,ProjectedX(),ProjectedY(),1

Hope this is a fast and acurate solution.