Search code examples
unity-game-enginecollider

How to stop a 3d object when collided with another 3d object in unity with inspector


How to stop a 3D object(say a car) falling downwards when collided with another 3d object(say a road). I have tried this the whole day but no results.


Solution

  • Both the 3D objects should have colliders, and the car should also have rigidbody component.