Rigidbody.AddForce won't move my car.

Hi, for the sake of everyone being able to help me troubleshoot use the carprefab in the standard asset. The problem I have also applies to this carprefab.

So my problem is that when I apply force to my car in FixedUpdate the car won’t move unless in playmode I lift the car up a bit past the height my suspension cushions the blow and when I drop it the car will move but not before.

A quick and dirty solution would be to just spawn my cars from a slight height increase but thats an ugly solution. I’d like to understand why the car will only move when I lift the car up in playmode or editor past the suspension limit. (With this I mean I can lift the car up a bit but the wheels stay on the terrain but when I lift it past the suspension limit the wheels will lift up as well and when I drop it from that point the car will move).

Strange thing is is when I apply the same function to a cube and the cube is directly touching the floor the cube does move instantly and I don’t need to drop it from a height.

Any help would be greatly appreciated because I can’t continue working untill I figured out this problem.

1 Like

Try to apply force to random car in the street. Probably it wont move too. I weights about 800-1200 kilogramms. To move the car, you need to apply torque to the wheels.

2 Likes

@palex-nx Yeah I was thinking this as well, When I apply like 55000 newtons to the car it will move but then it will put intense pressure on the tires and shoot away in a few seconds, But if what you say is true, why does the car move when I lift it up and drop it? if the force was to small wouldn’t it move even after dropping from a height?

I am gonna apply torque now and see if it works, Was actually about to do this but then I saw your email. :slight_smile:

If you lift a real car above the ground and apply a relatively small force to it, it will move too because it will lose connection to ground and the tension will not be able to stop the car from moving anymore.

@palex-nx Indeed thank you for the help!