Question by
Matthew_Gonzalez · Oct 14, 2019 at 04:09 PM ·
animationcollider2danimationclipboxcollider2d
BoxCollider2D animation sometimes does not match the frame that corresponds to it
Hi. We are working in a TopDown2D game and we are having problems with the animation of the enemies hurtboxes. The animations are the only ones that have control over the BoxColliders2D size and offset, but altough the hurtboxes look well animated on the enemies prefabs, at runtime there are some frames where their offset goes out of controll.
Do you have any idea of what happens?
The prefab animation:Youtube Link Animation issue 1:Youtube Link Animation issue 2: Youtube Link
Comment