in what way can I restrict movement along the axes? let’s say I simulate the steering wheel
Adding @Cedric
Do you mean you want to limit the angles ?
yes sir AmmoJSPlugin
https://www.babylonjs-playground.com/#WWNQ10#33
You can call setLimit
. See this PG, line 50.
wheel | Babylon.js Playground (babylonjs-playground.com)
I’m not sure how the parameters softness
, biasFactor
and relaxationFactor
work. Take a look at bulletphysics documentation if you want to tweak those parameters to your needs.