Difference between revisions of "ApplyHavokImpulse - ObjectReference"
Jump to navigation
Jump to search
m
ApplyHavokImpulse - ObjectReference (edit)
Revision as of 13:17, 8 October 2012
, 13:17, 8 October 2012→Examples: Floatified float params
imported>Jbizek |
imported>JustinOther m (→Examples: Floatified float params) |
||
Line 33: | Line 33: | ||
;sends testaxe, a heavy object, flying across room | ;sends testaxe, a heavy object, flying across room | ||
;along the positive y-axis | ;along the positive y-axis | ||
testAxe.ApplyHavokImpulse(0,1,0,10000) | testAxe.ApplyHavokImpulse(0.0, 1.0, 0.0, 10000.0) | ||
</source> | </source> | ||
Line 41: | Line 41: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
; launch the skeever up into the air | ; launch the skeever up into the air | ||
Game.GetPlayer().PushActorAway(Skeever, 0) | Game.GetPlayer().PushActorAway(Skeever, 0.0) | ||
Skeever.ApplyHavokImpulse(0.0, 0.0, 1.0, 1000) | Skeever.ApplyHavokImpulse(0.0, 0.0, 1.0, 1000) | ||
</source> | </source> | ||
== See Also == | == See Also == | ||
*[[ObjectReference Script]] | *[[ObjectReference Script]] |