- Home /
Bouce after collision
Hello all,
I'm starting with Unity and so far everything ran as expected. I'm now trying to make the enemies bounce away when they hit the player, but so far I had no clue how to do it. Any tips? I'm using 2 capsules as the enemy and the player, I placed rigidbody on both and tried to create a custom material with the bouncing property but no luck.
Answer by Bunny83 · Feb 20, 2011 at 11:26 AM
If you want the PhysicMaterial to take affect you have to move your enemies via Forces instead of direct moving them, otherwise you can't have physics feedback.
Your answer
Follow this Question
Related Questions
Ball bounce problem 1 Answer
Bouncing on collision 0 Answers
Moving a ball in the opposite direction of where it hits 1 Answer
Player bouncing off issue 1 Answer
Object bounces without colliding 1 Answer