Difference between revisions of "SetMotionType - ObjectReference"
m
→Parameters: Corrected parameter name
imported>JBurgess |
imported>Ice Eyes m (→Parameters: Corrected parameter name) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function SetMotionType(int | Function SetMotionType(int aeMotionType, bool abAllowActivate = true) native | ||
</source> | </source> | ||
== Parameters == | == Parameters == | ||
* | *aeMotionType: New Havok motion type. Allowed values are: | ||
**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]]()) |