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

I was wondering if anyone knew or had knowledge of how to program a climbing system like the one found in tomb raider/uncharted.

I had thought of just having bounding boxes at all the climbable positions in the game world and then check for collision. If the player was inside the box then they would be "hanging" from the edge. Anyone have any better ideas/improvments?

I already have my rendering set up using directx9 and was going to worry about animation later on.

share|improve this question
8 - Some really good information. – dcousens Jul 19 '11 at 13:33
Thank you, very interesting. – MulletDevil Jul 19 '11 at 13:56
possible duplicate of Ledge grab and climb in Unity3D – bummzack Jul 19 '11 at 14:29
Thanks for the information. – MulletDevil Jul 19 '11 at 14:36
@bummzack the question is the same, but the context is entirely different. Interestingly, I hadn't seen that question before, but the best answer has the link I posted haha. – dcousens Jul 19 '11 at 14:38
up vote 4 down vote accepted

Valve's 2009 presentation on the AI systems behind Left4Dead goes into considerable detail on the system used for climbing, including ledge detection, obstacle height, animation selection etc.

It is mostly aimed at NPC animation, but most of the actual climbing code should be very similar.

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.