How to make rigidbody static ?
Hi all. I'm developing Battle City reamake (Namco will eat me alive). I have tanks, one for player and four types of enemy tanks. All controled with velocity, not force. Problem is : when i colide with enemy tank we pushing each other... I tryed set velocity to zero in OnColliderEnter event but if i do i can't escape because both colliding tanks are imobilized. I also tryed some magic with rigidbody constraints with not much sucess. Is there any way how to make both collinding objects stop instead of pushing each other ?
sorry for bad english. I'm czech. -Garrom
Your answer
Follow this Question
Related Questions
What's the best way to get clean, smooth collision physics? 0 Answers
Sphere bouncing back on edges of aligned objects 0 Answers
2D RigidBody slightly penetrates objects causing a bounce effect. 3 Answers
Ball passes through the floor on movement 1 Answer
How do I prevent stacked objects from being spoiled by collisions? 2 Answers