Description
Wiki Description
Applies a Havok impulse force to this object of the specified direction and magnitude.
Documentation Comment
Apply an impulse to this reference
Caveats
CK Wiki - Notes
- For this to work for actors, you must call PushActorAway - Actor first, using a bit of force, then call this function.
Parameters
floatafX
CK Wiki Description
X component of the force vector.
floatafY
CK Wiki Description
Y component of the force vector.
floatafZ
CK Wiki Description
Z component of the force vector.
floatafMagnitude
CK Wiki Description
The magnitude of the force vector - how hard to hit this object.
Examples
; Apply a physical force along the x axis with a magnitude of 5 to a cheese wheel
CheeseWheel.ApplyHavokImpulse(1.0, 0.0, 0.0, 5.0)Auto-Generated Example
float myFloat__afX
float myFloat__afY
float myFloat__afZ
float myFloat__afMagnitude
myObjectReference__toCallFunctionOn.ApplyHavokImpulse(myFloat__afX, myFloat__afY, myFloat__afZ, myFloat__afMagnitude)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
