BhkBallAndSocketConstraint

From GECK
Jump to: navigation, search

bhkBallAndSocketConstraint is a Havok constraint that defines a point for a bhkRigidBody to swivel in relation to another bhkRigidBody. They are used to hang a handful of objects from a suspended point in Skyrim.

Its fields are:

  • Num Entities: The number of bhkRigidBody blocks used in the ball and socket constraint. Should always be two, the first is the rigid body you wish to attach and the second is the rigid body you wish to attach to.
  • Priority: Determines the Havok constraint priority type, usually 1.
  • Pivot A: The pivot point of the first bhkRigidBody under Entities.
  • Pivot B: The pivot point of the second bhkRigidBody where the first attaches to.

See Also

bhkStiffSpringConstraint