User Tools

Site Tools


This is an old revision of the document!


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.

Set the initial values of 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 Tweq\Rotate property is adjusted to match the waypoint. The direction of the turn will be by the shortest distance.

Messages Waypoint, TweqComplete, Starting, Stopping
Properties Tweq\Rotate

Back to index

tnhscript/turnatwaypoints.1233876510.txt.gz · Last modified: 2009/03/04 08:44 (external edit)