Hi guys,
i'm making a game "metal slug-style" using SDL as graphic engine and Box2D as physic engine, and i'm arrived at the creation of a class for the animations.
My question is:
what is the best way to animate a player?
My idea was to give the arms to the physic engine (attaching them to the weapon and the player body) but what for the legs?
Should i animate them in some way with the physic engine or is better to animate them in another way?
Roby
[SDL+Box2d]Character animating
This is a pretty complex issue. You probably want to simplify your player collision geometry and animate independent of the physical environment, this will certainly be the easiest option.
Alternatively you could try to implement some kind of inverse kinematic blended animation system which takes the location of the ground into consideration when animating the legs.
Interesting article
Alternatively you could try to implement some kind of inverse kinematic blended animation system which takes the location of the ground into consideration when animating the legs.
Interesting article
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement