- Home /
Question by
mpco · Mar 14, 2014 at 07:37 PM ·
rotate objectparent transformrelative rotation
Parent rotation on a BoxCollider2d
I have a gameObject sprite on which a rotation is applied. This gameObject has a child sprite with a BoxCollider2D. The rotation is correctly applied on the child sprite but not on the BoxCollider2D contained within. The BoxCollider2D move according to the parents translation but not the rotation. If I switch to a BoxCollider it works like intended but my collision with 2D objects cant be used. Am I missing something? Is it intended?
Comment