Often, when you flip or rotate an animation, you want the collision to flip or rotate alongside it. However, right now, you have to manually reposition each collision shape.
![](https://i.imgur.com/NjCawuK.png)
Solution 1:
In the collision editor, provide collision transformation operations equivalent to the ones in the animation editor.
Cons:
- Still an extra step you have to take for each animation.
- Wouldn't work properly after a 90 degree sprite rotation where the sprite isn't a perfect square.
Solution 2:
Provide an option to transform both the animation and the collision shape at the same time.
Cons:
- There may be cases where you'd want to transform just the collision.
- Does it go in the animation editor or the collision editor?
![](https://i.imgur.com/NjCawuK.png)
Solution 1:
In the collision editor, provide collision transformation operations equivalent to the ones in the animation editor.
Cons:
- Still an extra step you have to take for each animation.
- Wouldn't work properly after a 90 degree sprite rotation where the sprite isn't a perfect square.
Solution 2:
Provide an option to transform both the animation and the collision shape at the same time.
Cons:
- There may be cases where you'd want to transform just the collision.
- Does it go in the animation editor or the collision editor?