User Tools

Site Tools


tnhscript:turnatwaypoints

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tnhscript:turnatwaypoints [2009/02/05 23:28]
127.0.0.1 external edit
tnhscript:turnatwaypoints [2010/11/23 00:12] (current)
Line 1: Line 1:
 ====== TurnAtWaypoints ====== ====== TurnAtWaypoints ======
  
-Will turn a moving terrain object so it has the same orientation of the waypoint it just reached. ​The object only turns while the moving terrain is active.+Will turn a moving terrain object so it has the same orientation of the waypoint it just reached. ​This looks best when the objects are turned so they point in the direction they travel.
  
 Set the initial values of ``[[dromed:​property:​CfgTweqRotate|Tweq\Rotate]]`` to the axes which will be rotated. Only the ``X`` (rate) value for each axis is used to set the rotation speed. A rate of 0 will ignore that axis. Set the initial values of ``[[dromed:​property:​CfgTweqRotate|Tweq\Rotate]]`` to the axes which will be rotated. Only the ``X`` (rate) value for each axis is used to set the rotation speed. A rate of 0 will ignore that axis.
  
-When the object reaches a waypoint, the ``[[dromed:​property:​CfgTweqRotate|Tweq\Rotate]]`` property is adjusted to match the waypoint. The direction of the turn will be by the shortest distance.+When the object reaches a waypoint, the ``[[dromed:​property:​CfgTweqRotate|Tweq\Rotate]]`` property is adjusted to match the waypoint. The direction of the turn will be by the shortest distance. The object only turns while the moving terrain is active.
  
 ^Messages | ``Waypoint``,​ ``TweqComplete``,​ ``Starting``,​ ``Stopping`` ​ | ^Messages | ``Waypoint``,​ ``TweqComplete``,​ ``Starting``,​ ``Stopping`` ​ |
 ^Properties | ``[[dromed:​property:​CfgTweqRotate|Tweq\Rotate]]`` ​ | ^Properties | ``[[dromed:​property:​CfgTweqRotate|Tweq\Rotate]]`` ​ |
  
----- 
-[[index|Back to index]] 
  
tnhscript/turnatwaypoints.1233876510.txt.gz · Last modified: 2009/03/04 08:44 (external edit)