- Home /
Rigidbody is Pushing Another Rigidbody : Unity
Hello Everyone,
I have one issue in my game.
I am having zombie gameobject with rigidbody but when they come in contact , at that time they force each other.
Zombie game object having box collider and rigidbody component.
Take a look at my scene :
Here they does not move ahead if they comes in contact with rigidbody and forces eachother in opposite direction.
They are having same Mass = 1.2
When zombie collides with fence i am setting Rigidbody constraints to "Freeze All "
So what should i do? If you guys dnt understand my question then feel free to ask me.
Thanks.
Answer by Deathdefy · Oct 25, 2013 at 09:34 PM
So if I am hearing properly, your zombies are forcing each other into unwanted directions?
If that is the issue you can tell each of the zombies to ignore each others collision.
http://docs.unity3d.com/Documentation/ScriptReference/Physics.IgnoreCollision.html
Your answer
Follow this Question
Related Questions
Exploide GameObjects Into BrokenParts : Unity 1 Answer
relative velocity of rigidbody according to rotation... 1 Answer
How to change velocity of object which move by Rigidbody. 1 Answer
Make Bumper Effect 0 Answers
Gravity doesn't work 2 Answers