[DEV SERVER] Loading description...
Caveats
Parameters
intaeMotionType
CK Wiki Description
New Havok motion type. Allowed values are:* Motion_Dynamic:The object will be simulated by Havok (fall, etc...)
- Motion_Keyframed:The object will NOT be simulated by Havok (will only move if forced to, through ObjectReference.SetPosition(...) or ObjectReference.TranslateTo(...))
boolabAllowActivate=true
CK Wiki Description
If setting the motion type to Dynamic, whether the object should start simulating its physics right away. Otherwise, it will remain in it location until activated (hit by something). This is similar to the "Don't Havok Settle" option in the Reference window.
- Default:True
Examples
; Set the rock to no longer be simulated
Rock.SetMotionType(Rock.Motion_Keyframed); Set the rock to be simulated, but not to move until touched
Rock.SetMotionType(Rock.Motion_Dynamic, false)Auto-Generated Example
int myInt__aeMotionType
bool myBool__abAllowActivate
myObjectReference__toCallFunctionOn.SetMotionType(myInt__aeMotionType, myBool__abAllowActivate)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
