I am trying to convert the old vehicle.js script to the new script writing style (YES, thousands of ‘this…’ )
I am stuck with
var ammoVec = new Ammo.btVector3();
var motionState = new Ammo.btDefaultMotionState(transform);
How do I write this in the new scripting style to get access to the ammo physics stuff?
Or better - has anyone currently translated or build up the car physics for playcanvas and can share the script?