O'Reilly logo

Build a Game with UDK by Geoffrey Sholler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Complex physics actors/ragdolls

Ragdolls are very complex physics actors and, as such are a pain to set up correctly. Basically, the way ragdolls work is, they take a skeletal mesh and assign the entire skeleton as a sequence of rigid bodies connected by a constraint that acts like a joint. The reason this is so annoying and time consuming to set up properly is that, upon initial generation, all the settings regarding how much mass the bones should have, how springy they should be, and the range of motion of the joints are all set to allow as much freedom of movement as possible and, when allowed to try to simulate physics in that state, the results can be, well, interesting. An example of ragdolls is shown in the following screenshot:

That monstrosity ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required