BhkStiffSpringConstraint

From GECK
Jump to: navigation, search

bhkStiffSpringConstraint is a Havok constraint that defines a point for a bhkRigidBody to swivel in relation to another bhkRigidBody at a fixed distance that can't grow or shrink. They are used in a swamp bubble in Point Lookout, some tapestry in Oblivion, and destroyable spider webs 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.
  • Length: The distance between the two rigid bodies (in NIF units or Havok units?)

Notes

NifSkope can calculate the length between the position of the two pivots, simply right click the constraint in the list view and do Havok>Calculate Spring Length.

See Also

bhkBallAndSocketConstraint