171
edits
imported>Ice Eyes m (→Parameters: Corrected parameter name) |
m (Correct Parameter Name (abAllowActivate --> CORRECT_NAME_HERE)) |
||
| Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function SetMotionType(int aeMotionType, bool | Function SetMotionType(int aeMotionType, bool abImmediatelySimulate = 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]]()) | ||
* | *abImmediatelySimulate: If setting the motion type to Dynamic, whether the object should start simulating right away. Otherwise, it will remain in it location until activated (hit by something). | ||
**'''Default''': True | **'''Default''': True | ||
edits