Acceleration not working

when I use
this.entity.rigidbody.applyForce(this.entity.forward.clone().scale(-10));

car instead of accelerating just tilts left and right and the camera moves up and down
but I attached the carCtrl.js script to car
I did this in other older project and works the car accelerates
ok maybe it takes the follow camera but what with car?

Can you link to the project please? At a guess, you might be listening to keypresses on the camera?

https://playcanvas.com/editor/scene/909187
the scene test models (view)

The car is too heavy and it needed a much bigger force to move it. I’ve reduced the weight down to 1kg and it’s now ‘fine’.

https://playcanvas.com/editor/scene/914165

1 Like