Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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  
youtube.com/watch?v=GFu44oeLYPI&feature=relmfu - Some really good information. –  Daniel 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
2  
@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. –  Daniel Jul 19 '11 at 14:38
show 2 more comments

1 Answer

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
add comment

Your Answer

 
discard

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.