Rigidbody goes crazy

Hi,

i have some rigidbodies(with a configurable Joint for 2D Movement) in my scene without a script attached. If my character touches a rigidbody, the rigidbody will go sometimes crazy. It will move randomly over the scene and will never stop again.

How to avoid that? Is the scaling wrong?

If you’re using the configurable joint to restrict things to 2D, I’d suggest getting rid of it and adding these lines to the Update function for the objects restricted to the axis:

Assuming you’re only moving on x-y,
rigidbody.velocity.z = 0;
transform.position.z = 0;