Hi fellow scripters,
in my scene I’ve a GameObject Player (the hearted cube) which has a child called ‘sword’.
Sword (empty game object) has a child called circle (the green circle) which has a SpriteRenderer and a CircleCollider2D.
When i rotate the GameObject ‘sword’ (as shown below) I do rotate the SpriteRenderer but not the CircleCollider2D (as you can clearly see they are offsetted in the image).
Is this a (known) bug?
_Sword.transform.rotation = Quaternion.Euler (0, 0, Mathf.LerpAngle (_Sword.transform.rotation.eulerAngles.z, angle, 0.5f));
