- Home /
collision with objects, physics
Hey guys, I was wondering how i'd go about collisions. I have my character and i want it so like, when he walks into a chair or a box, or something on the floor. it moves backwards because it collided with it? i hope i explained it well
Comment
Answer by OperationDogBird · Aug 24, 2012 at 04:29 PM
Add a rigidbody to the object you want affected by physics, make sure there is a collider on them as well. If you created all your models using real world scale, the mass will be real world proportional. You will get the best results from the physics engine if you use real world values.
Adding Components:
Select a GameObject from the scene.
Click 'Component' in the Unity Toolbar
Select the desired component
Physics/Rigidbody Physics/...Collider