Difference between revisions of "Talk:SetPos"

Jump to navigation Jump to search
434 bytes added ,  11:21, 7 September 2008
Moving light - test results
imported>Haama
imported>QQuix
(Moving light - test results)
Line 44: Line 44:


:I think only the Disable/Enable is necessary in combo with the MoveTo as it may be needed to reset their collison meshes(?) I have had CTD's [for some objects] when I used Enable/Disable in the same frame. If you have such trouble then spilt them so they are called on successive frames. [[User:GuidoBot|GuidoBot]] 22:58, 11 April 2007 (EDT)
:I think only the Disable/Enable is necessary in combo with the MoveTo as it may be needed to reset their collison meshes(?) I have had CTD's [for some objects] when I used Enable/Disable in the same frame. If you have such trouble then spilt them so they are called on successive frames. [[User:GuidoBot|GuidoBot]] 22:58, 11 April 2007 (EDT)
::Just tried the above code and it did work! Thanks. I have a moving light that stops shining on new objects as it moves. Additional tweaking showed that just adding the two lines below, before my original SetPos, did the trick. In my case, it worked fine without the disable/enable. [[User:QQuix|QQuix]] 12:21, 7 September 2008 (EDT)
<dl><dl>
<pre>LightRef.positioncell 0 0 0 0 AbandonedMine
LightRef.moveto player</pre></dl></dl>


=Havok, setPos, and MoveTo=
=Havok, setPos, and MoveTo=
Anonymous user

Navigation menu