After discussion with normen in a previous thread we came to this conclusion :
If you want to really "control" your snowboard you will have to check the current forces with getLinearVelocity and getAngularVelocity and give correct counter forces on your snowboard each tick. So if your torque around the x-axis is too high, you apply a counter-force. In this case using addForce() will work since you do it every tick.
So this is how my game currently works:
press "a"
applyForce(-10,0,0);
press "d"
applyForce(10,0,0);
Now - it seems I should be calling applyForce every game tick - whereas at the moment it only gets called once per keypress - what is the best way to do this? Should I have something in the main game loop which applys a force to each model, and that force to be applied gets modified depending on the current forces and the addition of new forces because a or d has been pressed?
Please offer some wisdom!