- Home /
Polygon Collider 2D weird behaviour when rotating
[Edit: it seems to have something to do with parent scale, if i set my parent scale to 1, then this does not happens, but still, this should not happen] Hi, i have a problem with a pylogon collider, i have it as child of the player as damage hitbox to deal damage to enemies and i want the hitbox to rotate with the player, but when i rotate, it behaves very strange, take a look
i serched forums, and i tried to find a solution to this problem, but at no avail found this one
http://answers.unity3d.com/questions/583159/weird-2d-collider-behaviour-when-flipping-scaling.html
but my collider does not have RidigBody, the parent does, but is neccessary
and disabling the collider did not worked and also, i know the last solution that is referenced there to another post, might work, but this should not be neccessary.
i have found that if i rotate the parent and not the objec holding the collider, the affect does not happens
as long as i know, this is not supossed to happen, this is a big problem, does anyone know a possible fix?