Ragdoll Simulation
   HOME

TheInfoList



OR:

Ragdoll physics is a type of
procedural animation A procedural animation is a type of computer animation used to automatically generate animation in real-time to allow for a more diverse series of actions than would otherwise be tedious using predefined animations. Procedural animation is us ...
used by
physics engine A physics engine is computer software that provides an approximate simulation of certain physical systems, typically classical dynamics, including rigid body dynamics (including collision detection), soft body dynamics, and fluid dynamics. I ...
s, which is often used as a replacement for traditional static death animations in
video game A video game or computer game is an electronic game that involves interaction with a user interface or input device (such as a joystick, game controller, controller, computer keyboard, keyboard, or motion sensing device) to generate visual fe ...
s and
animated films Animation is a filmmaking technique whereby still images are manipulated to create moving images. In traditional animation, images are drawn or painted by hand on transparent celluloid sheets to be photographed and exhibited on film. Animati ...
. As computers increased in power, it became possible to do limited real-time
physical simulation A simulation is an imitative representation of a process or system that could exist in the real world. In this broad sense, simulation can often be used interchangeably with model. Sometimes a clear distinction between the two terms is made, in ...
s, which made death animations more realistic. Early
video game A video game or computer game is an electronic game that involves interaction with a user interface or input device (such as a joystick, game controller, controller, computer keyboard, keyboard, or motion sensing device) to generate visual fe ...
s used manually created animations for a character’s death sequences. This had the advantage of low
CPU A central processing unit (CPU), also called a central processor, main processor, or just processor, is the primary processor in a given computer. Its electronic circuitry executes instructions of a computer program, such as arithmetic, log ...
utilization, as the data needed to animate a "dying" character was chosen from a set number of pre-drawn frames. In contrast, a ragdoll is a collection of multiple
rigid bodies In physics, a rigid body, also known as a rigid object, is a solid body in which deformation is zero or negligible, when a deforming pressure or deforming force is applied on it. The distance between any two given points on a rigid body rema ...
(each of which is ordinarily tied to a
bone A bone is a rigid organ that constitutes part of the skeleton in most vertebrate animals. Bones protect the various other organs of the body, produce red and white blood cells, store minerals, provide structure and support for the body, ...
in the graphics engine's
skeletal animation Skeletal animation or rigging is a technique in computer animation in which a character (or other articulated object) is represented in two parts: a polygonal or parametric mesh representation of the surface of the object, and a hierarchical set ...
system) tied together by a system of constraints that restrict how the bones may move relative to each other. When the character dies, their body begins to collapse to the ground, honouring these restrictions on each of the joints' motion, which often looks more realistic. The term ''ragdoll'' comes from the problem that the
articulated An articulated vehicle is a vehicle which has a permanent or semi-permanent coupling in its construction. This coupling works as a large pivot joint, allowing it to bend and turn more sharply. There are many kinds, from heavy equipment to buse ...
systems, due to the limits of the solvers used, tend to have little or zero joint/
skeletal muscle Skeletal muscle (commonly referred to as muscle) is one of the three types of vertebrate muscle tissue, the others being cardiac muscle and smooth muscle. They are part of the somatic nervous system, voluntary muscular system and typically are a ...
stiffness, leading to a character collapsing much like a toy
rag doll A rag doll is a doll made from scraps of fabric. They are one of the oldest children's toys in existence. Today, many rag dolls are commercially produced to mimic aspects of the original home-made dolls, such as simple features, soft cloth bodies, ...
, often into comically improbable or compromising positions. Modern use of ragdoll physics goes beyond death sequences.


History

The ''
Jurassic Park ''Jurassic Park'', later referred to as ''Jurassic World'', is an American science fiction media franchise created by Michael Crichton, centered on a disastrous attempt to create a theme park of De-extinction#Cloning, cloned dinosaurs. It bega ...
'' licensed game '' Jurassic Park: Trespasser'' exhibited ragdoll physics in 1998 but received very polarised opinions; most were negative, as the game had a large number of bugs. It was remembered, however, for being a pioneer in
video game physics Computer animation physics or game physics are laws of physics as they are defined within a simulation or video game, and the programming logic used to implement these laws. Game physics vary greatly in their degree of similarity to real-world phy ...
. There are
fighting game The fighting game video game genre, genre involves combat between multiple characters, often (but not limited to) one-on-one battles. Fighting game combat often features mechanics such as Blocking (martial arts), blocking, grappling, counter- ...
s where the player controls one part of the body of the fighter and the rest follows along, such as ''
Rag Doll Kung Fu ''Rag Doll Kung Fu'' is a fighting video game developed by Qi Creations for Windows. created predominantly by artist Mark Healey, while working for Lionhead Studios, along with other Lionhead employees, such as David Smith and Alex Evans. ''R ...
'', as well as racing games such as the ''
FlatOut ''FlatOut'' is a series of action demolition derby/racing video games created by Finnish independent video game developer Bugbear Entertainment. The ''FlatOut'' series has sold a total of almost 3 million units worldwide. After Bugbear develop ...
'' series. Recent procedural animation technologies, such as those found in
NaturalMotion NaturalMotion Limited is a British video game development company with development offices in London, Brighton and Birmingham. Founded in November 2001 as a spin-out company from Oxford University, NaturalMotion specialises in creating animatio ...
's
Euphoria Euphoria ( ) is the experience (or affect) of pleasure or excitement and intense feelings of well-being and happiness. Certain natural rewards and social activities, such as aerobic exercise, laughter, listening to or making music and da ...
software, have allowed the development of games that rely heavily on the
suspension of disbelief Suspension of disbelief is the avoidance—often described as willing—of critical thinking and logic in understanding something that is unreal or impossible in reality, such as something in a work of speculative fiction, in order to believe i ...
facilitated by realistic whole-body muscle/nervous ragdoll physics as an integral part of the immersive gaming experience, as opposed to the antiquated use of canned-animation techniques. This is seen in ''
Grand Theft Auto IV ''Grand Theft Auto IV'' is a 2008 action-adventure game developed by Rockstar North and published by Rockstar Games. It is the sixth main entry in the Grand Theft Auto, ''Grand Theft Auto'' series, following 2004's ''Grand Theft Auto: San And ...
'', ''
Grand Theft Auto V ''Grand Theft Auto V'' is a 2013 action-adventure game developed by Rockstar North and published by Rockstar Games. It is the seventh main entry in the Grand Theft Auto, ''Grand Theft Auto'' series, following 2008's ''Grand Theft Auto IV'', and ...
'', ''
Red Dead Redemption ''Red Dead Redemption'' is a 2010 action-adventure game developed by Rockstar San Diego and published by Rockstar Games. A successor to 2004's ''Red Dead Revolver'', it is the second game in the ''Red Dead'' series. ''Red Dead Redemption'' is se ...
'', ''
Max Payne 3 ''Max Payne 3'' is a 2012 third-person shooter game developed and published by Rockstar Games. It is the sequel to '' Max Payne 2: The Fall of Max Payne'' and the third entry in the ''Max Payne'' series. ''Max Payne 3'' is played from a third-p ...
'' and ''
Red Dead Redemption 2 ''Red Dead Redemption 2'' is a 2018 action-adventure game developed and published by Rockstar Games. The game is the third entry in the ''Red Dead'' series and a prequel to the 2010 game ''Red Dead Redemption''. The story is set in a fictiona ...
'' as well as titles such as
LucasArts Lucasfilm Games (known as LucasArts between 1990 and 2021) is an American video game brand licensing, licensor, former video game developer and video game publisher, publisher, and a subsidiary of Lucasfilm. It was founded in May 1982 by George ...
' '' Star Wars: The Force Unleashed'' and ''Puppet Army Faction's Kontrol'', which feature 2D powered ragdoll locomotion on uneven or moving surfaces.


Approaches

Ragdolls have been implemented using
Featherstone's algorithm Featherstone's algorithm is a technique used for computing the effects of forces applied to a structure of joints and links (an "open kinematic chain") such as a skeleton used in ragdoll physics. The Featherstone's algorithm uses a reduced coordi ...
and spring-damper contacts. An alternative approach uses constraint solvers and idealized contacts. While the constrained-rigid-body approach to ragdolls is the most common, other "
pseudo Pseudo- (from , ) is a prefix used in a number of languages, often to mark something as a fake or insincere version. In English, the prefix is used on both nouns and adjectives. It can be considered a privative prefix specifically denoting '' ...
-ragdoll" techniques have been used: *
Verlet integration Verlet integration () is a numerical method used to integrate Newton's equations of motion. It is frequently used to calculate trajectories of particles in molecular dynamics simulations and computer graphics. The algorithm was first used in 17 ...
: used by '' Hitman: Codename 47'' and popularized by
Thomas Jakobsen Thomas Jakobsen is a mathematician, cryptographer, and computer programmer, formerly an assistant professor at the Technical University of Denmark (DTU) and head of research and development at IO Interactive. His notable work includes designing th ...
, this technique models each character bone as a point connected to an arbitrary number of other points via simple constraints. Verlet constraints are much simpler and faster to solve than most of those in a fully modelled rigid body system, resulting in much less CPU consumption for characters. *
Inverse kinematics In computer animation and robotics, inverse kinematics is the mathematical process of calculating the variable joint parameters needed to place the end of a kinematic chain, such as a robot manipulator or animation character's skeleton, in a g ...
post-processing: used in '' Halo: Combat Evolved'', this technique relies on playing a pre-set death animation and then using inverse kinematics to force the character into a possible position after the animation has completed. This means that, during an animation, a character could wind up
clipping Clipping may refer to: Words * Clipping (morphology), the formation of a new word by shortening it, e.g. "ad" from "advertisement" * Clipping (phonetics), shortening the articulation of a speech sound, usually a vowel * Clipping (publications ...
through world geometry, but after it has come to rest, all of its bones will be in valid space. Limitations can force body parts to move through each other in unnatural ways; for instance, a character's hand may lay on top of their chest in a death animation, but the hand is then moved through the chest to the ground underneath by inverse kinematics. *Blended ragdoll: this technique was used in ''
Halo 2 ''Halo 2'' is a 2004 first-person shooter video game developed by Bungie and published by Microsoft Game Studios for the Xbox console. ''Halo 2'' is the second installment in the ''Halo'' franchise and the sequel to 2001's critically acclai ...
'', ''
Halo 3 ''Halo 3'' is a 2007 first-person shooter video game developed by Bungie for the Xbox 360 console. The third installment in the ''Halo'' franchise following '' Halo: Combat Evolved'' (2001) and ''Halo 2'' (2004), the game's story centers on th ...
'', '' Call of Duty 4: Modern Warfare'', ''
Left 4 Dead ''Left 4 Dead'' is a 2008 first-person shooter game developed by Valve South and published by Valve. It was originally released for Windows and Xbox 360 in November 2008 and for Mac OS X in October 2010, and is the first title in the '' Left 4 ...
'', '' Medal of Honor: Airborne'', ''
Team Fortress 2 ''Team Fortress 2'' (''TF2'') is a Multiplayer video game, multiplayer first-person shooter game developed and published by Valve Corporation in 2007. It is the sequel to the 1996 ''Team Fortress'' Mod (video gaming), mod for ''Quake (video g ...
'', and '' Uncharted: Drake's Fortune.'' It works by playing a pre-made animation, then binding the ragdoll to the last frame of the animation. Occasionally the ragdolling player model will appear to stretch out and spin around in multiple directions, as though the character were made of rubber. This erratic behavior has been observed to occur in games that use certain versions of the Havok engine, such as ''Halo 2'' and ''
Fable II ''Fable II'' is a 2008 action role-playing video game developed by Lionhead Studios and published by Microsoft Game Studios for Xbox 360. The game is the second installment in the ''Fable'' game series, and the sequel to 2004's ''Fable''. The ...
''. *Active ragdoll: used primarily in ''
Unreal Engine Unreal Engine (UE) is a 3D computer graphics game engine developed by Epic Games, first showcased in the 1998 first-person shooter video game '' Unreal''. Initially developed for PC first-person shooters, it has since been used in a variety of ...
'' games such as ''
Unreal Tournament 3 ''Unreal Tournament 3'' (''UT3'') is a first-person arena shooter video game developed by Epic Games and published by Midway Games. Part of the ''Unreal'' franchise, it is the fourth game in the '' Unreal Tournament'' series, and the eighth ...
'' and ''
Killing Floor 2 ''Killing Floor 2'' is a first-person shooter video game developed and published by Tripwire Interactive, with later support from Saber Interactive. It is a sequel to 2009's '' Killing Floor''. An early access version of the game was released for ...
''. It works by playing a pre-made animation, but constraining the output of that animation to what a physical system would allow. This helps alleviate the ragdoll feeling of characters suddenly going limp, offering correct environmental interaction as well. This requires both animation processing and physics processing, thus making it even slower than a traditional ragdoll alone, though the benefits of the extra visuals seem to overshadow the reduction in processing speed. See also: ''
Euphoria (software) Euphoria is a game animation middleware created by NaturalMotion based on Dynamic Motion Synthesis, NaturalMotion's proprietary technology for animating 3D characters on-the-fly "based on a full simulation of the 3D character, including body, m ...
'' *
Procedural animation A procedural animation is a type of computer animation used to automatically generate animation in real-time to allow for a more diverse series of actions than would otherwise be tedious using predefined animations. Procedural animation is us ...
: traditionally used in non-realtime media (film/TV/etc), this technique (used in the
Medal of Honor The Medal of Honor (MOH) is the United States Armed Forces' highest Awards and decorations of the United States Armed Forces, military decoration and is awarded to recognize American United States Army, soldiers, United States Navy, sailors, Un ...
series starting from European Assault onward) employs the use of multi-layered physical models in non-playing characters (bones / muscle / nervous systems), and deformable scenic elements from "simulated materials" in vehicles, etc. By removing the use of pre-made animation, each reaction seen by the player is unique, whilst still deterministic.


See also

*
Cartoon physics Cartoon physics or animation physics are terms for a jocular system of laws of physics (and biology) that supersedes the normal laws, used in animation for humorous effect. Many of the most famous American animated films, particularly those from ...
* Joint constraints * '' Stair Dismount'' * ''
Turbo Dismount ''Turbo Dismount'' is a 2014 Vehicle simulation game, vehicle simulator video game developed and published by Finnish developer Secret Exit Ltd. for iOS, Android (operating system), Android, macOS and Microsoft Windows. The game was first unveile ...
'' * '' Lugaru''


References

{{Physics engines Computer physics engines Video game development