So I rigged a suspension car with springs, constraints, motors and what not, it drives fine. However you can push the car without driving it… How would I prevent this??
I’ve not delved into the creation of cars - but could there be a way that when they sit in the car a value is set to true inside the player, and if the value is not true the car doesn’t move, so when it’s being pushed it does not run??
Do you not want the car to move at all? You can create a script that will Anchor a Part of the car.
Are you setting the wheel HingeConstraints Torque to 0 when the player gets off the seat, making it easy to push?
Or do you want the car to be moved by big forces (like if another car hits it at high speed) you could set the wheel HingeConstraints to Servo when a player jumps off the seat so they act like the brakes are on. Then set them to Motor when a player gets back on the seat.
I use Cylindrical Constraints instead with motors attached, I want to stop the car from moving when nobody is inside of it.
So set the Motors to Servos instead, or Anchor one of the car Parts when a player jumps off the seat.