- Home /
Disable bouncing effect
I have a Mesh object (a wall) with a Mesh Collider with a material which properties are:
Dynamic Friction 1
Static Friction 0
Bounciness 0
Friction Combine Maximum
Bounce Combine Minimum
Friction Direction 2 0,0,0
Dynamic Friction 2 0
Static Friction 2 0
With a script I am moving an object in x,z with the cursor. This object is a Rigidbody (a chair) with a Box Collider with the same material as above.
When the Rigidbody (the chair) collides with any other object (like the wall) when I am moving it with the mouse, it bounces, I want it to just stay where the cursor is putting it and stop moving if it hits the collider.
So what I want is to deactivate that Bouncing effect.
Thanks in advance!
Comment