Jump to content
  • Advertisement
  • entries
    338
  • comments
    2045
  • views
    1170765

Havok Ragdoll Physics - HD Videos

Sign in to follow this  
dgreen02

3681 views

Hey Guys,

Here are some videos of the Havok ragdoll physics I've coded into the game in the last week or so.

Gravity is still a work in progress - I think it needs to be increased. I'll take care of that. Other parts of the engine have recently received a refactor / facelift so some things are rough around the egdes.

I've tried for a few years to get some good looking ragdolls - up until this point I think the best ragdolls I've had were in my game 'Gang War' using Newton Dynamics physics engine circa 2006. The recently written ragdoll code is replacing some Havok based ragdolls - but they didn't properly blend the current animation state of the visual model with the physics representation for a smooth transition. I also use triangluar shapes for the rigid body representation of each limb - the shapes are defined via 3D model so it's easy to tweak the ragdolls.



This new system supports up to 32 dynamic ragdolls at once - with no more than 1024 units on the battlefield this should be sufficient ( since ragdolls are a client side effect that doesn't affect the gameplay / character controllers / etc ). I'm pretty happy with how they turned out - though the effects will be much more realistic once I go through and add pre-limb bullet detection and apply an impulse to the limb in question. Another feature of this new ragdoll code is ability for breakable limbs - simply not creating a constraint will detach the limb from the ragdoll with no other changes needed.

Video links:
Video #1 -
">VIDEO 1 LINK

Video #2 -
">VIDEO 2 LINK

Video #3 -
">VIDEO 3 LINK

Here are the screenshots:




- Dan
Sign in to follow this  


2 Comments


Recommended Comments

Very cool! Are you actually using the breakable limbs, that is, will you have mutilation in your game?

Share this comment


Link to comment
Yes, at the very least I'm going to make them fully gibbable. It gets kind of tricky doing the mutilation - because you have to close off the holes at the end of each limb. Obviously creating a custum 'mutilated mesh' for each model could work...hmmmm.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!