What's the best way to get clean, smooth collision physics?
In my projects, I always deal with this issue when dealing with Unity physics. I usually try to fix it by changing some properties (friction, etc) - but that usually only fixes it in some limited capacities.
Here is a short video with some collision physics oddities (note: while the game is 2D, it uses Unity 3D. so no 2D rigidbodies or collisions here):
https://i.imgur.com/9zhgENJ.mp4
In the webm, these are the main problems:
Objects jittering during collisions, especially at a certain speed
Objects sliding dramatically after being pinched between a wall and a moving collider
Objects sliding / drifting around after collisions end (is this because they're not really touching a "ground?")
What is the best way to fix this? Should I switch over to something like raycasting, or is there something with Unity physics I can do to have more control over what happens? Thanks in advance.
Your answer
Follow this Question
Related Questions
Is there a way to limit animation on collision? 1 Answer
Why Does Bounciness Affects Rigidbody Velocity? (SOLVED) 0 Answers
RigidBody becomes awake without a collision 1 Answer
2 Rigidbodies will overlap when 1 is given a velocity 0 Answers
How to make rigidbody not effect movement while still using it for collisions? 0 Answers