- Home /
Question by
beefwellington2 · Sep 05, 2012 at 10:21 AM ·
rigidbody
How can I make a character bounce?
I'm trying to make the player bounce on various objects to reach a key but I don't know how to get it to work. I've tried various scripts but my player refuses to bounce. What's the simplest way of making a character bounce back up when it lands on something? Does my player need to be a rigidbody?
Comment
Answer by Anusha · Sep 05, 2012 at 11:08 AM
yes....in the collider... the Material needs to be set to bouncy.. then it will bounce....
If you do not have any material there I think you can download them from the Assets. There are some predefined ones or you can create your own with codes http://docs.unity3d.com/Documentation/ScriptReference/Physic$$anonymous$$aterial.html.