- Home /
Question by
Mourlie · Jun 30, 2017 at 06:28 PM ·
physicscolliderphysics2dcollider2dcollider 2d
Is it possible to rotate a 2d collider in 3d?
So I'm making a small game. I have characters moving around the camera in a 3d setting. These characters are sprites. Now, when I rotate them around the x or y axis, the 2d polygon collider on them transforms weirdly, and doesn't work properly anymore.
I chose the polygon collider for its simplicity. I would replace it with a mesh collider, but I don't want to create a 3d mesh for every sprite I have...I tried giving the sprite a 3d transform instead of a rect transform, parent it to another gameObject that is rotated, ... but nothing works, unfortunately.
Is there some kind of workaround or easy solution to this? Is there an equivalent to a 2d polygon collider in 3d?
Comment