In my game, the character will be in different positions whether it’s jumping, shooting, jump-shooting, etc. In some cases, it will require different physics because its position in the image changes. Is there a way to do this using an offset body and change it depending on the animation?
I know you can get the animation sequence by using .sequence, but is it possible to change the physics depending on this as well? Furthermore, is it a good practice and if not are there other solutions?