ApplyHavokImpulse

Revision as of 18:08, 2 December 2011 by imported>Scornett-Bot (Script running global find and replace: = for '''=)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DescriptionEdit

ApplyHavokImpulse Applies a Havok impulse to a references rigid bodies.

SyntaxEdit

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

ExamplesEdit

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

NotesEdit

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 VersionEdit

ObjectReference.ApplyHavokImpulse (Papyrus)