Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Imagine having a climbing wall and you take 4 adjacent handholds and footholds where together they create a stance. Is there any algorithm or technique with which it would give you a realistic human pose? Currently im adjusting the skeleton by firstly finding the center of the 4 holds where then i construct the chest shoulder and pelvis accordingly. And by the use of IK i give position to the remaining limbs being which the arms and legs. Is there any other more elegant/better technique how to do such positioning of a skeleton ? As how i am adjusting the skeleton isnt so much of a realistic pose.All is done in 2D

share|improve this question
the only thing I would say is to look at some climbing reference and try to imitate the animation by hand rather than code and you may get a nicer effect – MephistonX Mar 25 '13 at 10:04
@MephistonX can u explain more clearly what you mean by hand? – Adrian De Barro Mar 25 '13 at 10:50
By hand means animating out the movement and baking it in some format rather than dynamically doing it in code at runtime. – Technik Empire Mar 25 '13 at 14:39
yep what Digital Architect says - that or if you can get a hold of any motion capture data of someone climbing - but thats probably either very difficult or expensive – MephistonX Mar 25 '13 at 18:09
up vote 2 down vote accepted

To find a good algorithm for such a stance will take quite some time, observation and testing, I don't think you will find a "one-fits-all" solution on the internet.

There is a lot you have to consider for skeletons climbing obstacles and I assume you don't only want it to take a certain stance, but to move from one to another in a realistic way.

"Specific Stance" is a little to abstract, a specific stance could be:

  • looking like the skeleton has tight grip on the wall

in this case the arms and legs will almost be equally stretched, the body will be closer to the wall

  • looking like the skeleton is about to move up

depening on the distance the skeleton can have really bent legs to make it look like he is about to make a big leap upwards, or stretched legs if he tries to climb and pull himself up.

These are just simple examples, there are many more things and actions to be taken into consideration for a correct stance.

You can start by defining which stances you want, and which transitions from which stances you want. Then analyse some rock climbing videos on youtube (or yourself if you're a climber) for the look and feel of your stance and/or transition.

The easiest way will probably be to only implement the skeletons back and pelvis position (or movements for transitions) relative to the center of the 4 handholds/footholds, depending on the stance you want (centered, or lowered for a leap..). Then place the hands and feet on the hand/footholds.

The rest is adjusting your min/max angles for the knees and elbows, which will require some testing until you find something that looks good for you.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.