Difference between revisions of "AddHavokBallAndSocketConstraint - Game"
Jump to navigation
Jump to search
AddHavokBallAndSocketConstraint - Game (edit)
Revision as of 17:21, 11 May 2012
, 17:21, 11 May 2012no edit summary
imported>Scornett m (Reverted edits by Scornett-Bot (talk) to last revision by Jlundin) |
imported>Chesko |
||
Line 44: | Line 44: | ||
Game.AddHavokBallAndSocketConstraint(Bob, "Hand", Sally, "Hand", 1.0, 1.0, 1.0) | Game.AddHavokBallAndSocketConstraint(Bob, "Hand", Sally, "Hand", 1.0, 1.0, 1.0) | ||
</source> | </source> | ||
== Notes == | |||
*The nodes referenced must contain a bhkCollisionObject node, which in turn must contain a bhkRigidBody node. | |||
*You can only add a ball and socket constraint on dead actors, or live actors that are in the process of "ragdolling" from [[PushActorAway]] or some other physics impact. When the live actor gets back up, the constraint will be broken. | |||
== See Also == | == See Also == | ||
*[[Game Script]] | *[[Game Script]] | ||
*[[RemoveHavokConstraints - Game]] | *[[RemoveHavokConstraints - Game]] |