- Home /
Elastic collisions and a frictionless environment
We are setting up a small game which is something similar to
https://play.google.com/store/apps/details?id=com.entwicklerx.dodgetheseballsfree.
So far, we have the balls moving in random directions and bouncing off the walls and colliding with each other. The collisions look fine but the problem that we are facing is that the balls slow down over time till they completely stop moving.
The rigid bodies have "Drag" and "Angular Drag" set to 0. The balls (also the walls) have the this material attached, where the dynamic friction and static friction are set to 0.
I'm not sure what is causing this behavior. Any idea what I might be doing wrong ?
Answer by logicandchaos · Mar 26, 2017 at 05:20 PM
I'm having a similar problem with my game, it's an asteroids like game so it supposed to be in frictionless space, you have to create a physics material with 0 friction and apply it to your objects, this worked for me except for one type of collision, which is making me think it may be a unity bug
Your answer
Follow this Question
Related Questions
OnCollisionEnter but have colliding object not move the object it collides with 1 Answer
Rigidbody magnitude comparison is not working correctlly? 2 Answers
Collision detection only half working. 1 Answer
Collsion without ririgibody 1 Answer
What is causing my object to spin around and act funky when it hits another collider? 0 Answers