171
edits
m (Correct Parameter Name (abAllowActivate --> CORRECT_NAME_HERE)) |
m (Correct Parameter Name (abImmediatelySimulate --> abAllowActivate)) |
||
| Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function SetMotionType(int aeMotionType, bool | Function SetMotionType(int aeMotionType, bool abAllowActivate = true) native | ||
</source> | </source> | ||
| Line 15: | Line 15: | ||
**Motion_Dynamic: The object will be simulated by Havok (fall, etc...) | **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 [[SetPosition - ObjectReference|SetPosition]]() or [[TranslateTo - ObjectReference|TranslateTo]]()) | **Motion_Keyframed: The object will NOT be simulated by Havok (will only move if forced to, through [[SetPosition - ObjectReference|SetPosition]]() or [[TranslateTo - ObjectReference|TranslateTo]]()) | ||
* | *abAllowActivate: 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 | **'''Default''': True | ||
edits