I have car parent and here collision box, rigidbody dynamic but can’t apply force
https://playcanvas.com/editor/scene/1045896
What happens if you reduce the mass to 1?
when I reduce the mass to 1 the force is applied
In which case, the amount of force you are applying when the mass is 1500 is not enough
Force = mass * acceleration so acceleration = force / mass.
The larger the mass, the more force you need to accelerate.
1 Like
is it ok?
this.entity.rigidbody.applyForce(0, 0, 1000000 * dt);
when mass is 1500
force is applied
You don’t need to *dt
as force doesn’t have a time component.
Work out what acceleration you need and calculate the force you need to apply given the mass of the object.