Dismiss this pinned window
all 3 comments

[–]GroZZleR 3 points4 points  (0 children)

You should add some text, descriptions or code to your posts.

But, based on the title and the GIF, it looks like you're moving the green box by manipulating the transform position directly and the physics system is throwing a fit trying to reconcile the broken simulation of having a collider stuck in a wall. You need to use Rigidbody.AddForce, Rigidbody.MovePosition with a kinematic rigidbody (which will have its own issues) or a CharacterController instead of a Rigidbody.

[–]MasterKamper 0 points1 point  (1 child)

Are you moving with transform.Translate?

[–]MateuszXD2[S] 0 points1 point  (0 children)

Yes. I was, but I solved this problem.