Collider2D - Debug Drawer

Options
Hi,

In our game we are using 2d physics simulation, with some rigidbodies moved applying forces. Using debug drawers, I have noticed that during movement, 2d colliders are always a bit ahead of their transform.

Is it correct?

Thanks,

Devis

Comments

  • JeffersonHenrique
    Options
    Hi,

    This can happen, but could be some not expected behaviour. We update the transform in each Update method, if it runs slower than FixedUpdate then you could see the collider a little ahead of its transform.