First I would like to say that I realise i have been asking a lot of questions and I'm grateful for the responses! :P
I'm unable to figure out how controllers actually work. My object just won't move :P
I've done the following steps.
1. Initialized a boxEntity with a box object with a mass of 1.0 and i have applied the transforms and center of mass.
2. Created a controller subclass and gave the object my box physics body.
3. Registered the controller with the physics system.
4. The object is located on a heightmap also registered with the physics system.
I have tried different kind of forces. Both addBody force and addBodyWorld force don't seem to do anything.
The code gets called by jiglibx. The body is active.
I also don't understand how much force needs to be applied, the tutorial says Vector.Forward for forward movement as a parameter for addBody force. But even if I multiply this by 10000 it doesn't seem to do much. Also if you use add world force and you just want simple forward movent do I need to provide the position parameter? The jiglib car is just too complicated if your starting out.
Btw I have seemed to get some kind of movement if is et the body mass to 0.001 or something equally small, but this shouldn't be right should it?