Search Issue Tracker

Won't Fix

Votes

1

Found in

4.5.0b1

Issue ID

587987

Regression

No

collider changes itself when the transform position of the object changes

Physics2D

-

To reproduce:
1. Open attached project
2. Open test scene
3. move singleLittleWarrior
Expected result: The collider remains the same when the game object get's moved
Actual result: It changes

Won't Fix: This is a static collider. The geometry of a static collider is recalculated whenever it is moved i.e. the local geometry is transformed by its position as you can see if you also rotate it.

If you add a Rigidbody2D and move the collider then this won't happen.

You should never move static colliders either outside the editor.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.