ApplyHavokImpulse

From the CreationKit Wiki
Jump to navigation Jump to search

Description[edit | edit source]

ApplyHavokImpulse Applies a Havok impulse to a references rigid bodies.

Syntax[edit | edit source]

ApplyHavokImpulse ImpulseMagnitude (float) x (float) y (float) z (float)

Examples[edit | edit source]

objectRef.ApplyHavokImpulse 25 0 0 1 ; Applies a Havok impulse into the air (z axis) with a magnitude of 25.

Notes[edit | edit source]

The impulse is scaled based on the layer of the rigid body ( props, clutter, traps, etc. ). These layers are set in the art and the scaling value are gamesettings. Note: These gamesettings affect impulse applied to all objects, not just those applied by this function.

Papyrus Version[edit | edit source]

ObjectReference.ApplyHavokImpulse (Papyrus)