tokamak physics thread 4

Blitz3D Forums/Blitz3D Programming/tokamak physics thread 4

Well, I would first create a rigid body for the lander, and add four boxes to it, using TOKGEOM_SetPositionAndRotation to position them at the pads of the lander. Then perhaps making the body of the lander out of one of the other geometries (depends on the shape). I presume you would have a static mesh for he terrain. In your main loop you would update tokamak, and position the lander model to the tokamak rigid bodies position and orientation. For thrusts just do a TFormVector to transform 0,force#,0 from object local space to global space, then apply the impulse. If this is to confusing I can do a bit of sample code.