AddLinkedPoints

Summary

This script will add several points to a scene and link them together with a line, allowing you to show a path.

Parameters

Points

Type: XYZ Coordinates Default: None

The world location of each point in the linked points line. Locations are given as global x,y,z co-ordinates separated by a comma for each axis and with a space for each individual co-ordinate.

Reverse

Type: Boolean Default: True

The direction of the animated surface along the linked points line. If True, the animation will move from the first point entered to the last point entered.

Name

Type: Text Default: LinkedPath

The name that will be given to the linked path as an asset. This name can be later referred to from other script commands to manipulate it in some way (e.g. from AnimatePosition or Remove).

Color

Type: RGB Default: 0,1,0

The color of the texture to be added to the linked points line. Color is given in red, green and blue values ranging from 0 to 1 respectively. Each value is separated by a comma.

See Also

Examples

<addlinkedpoints points="10,2,3 23,5,10 3,5,10" Color="1,1,0" >
The above code will create a line moving from the point 10,2,3 through 23,5,10 and finishing at 3,5,10. The color will be set to 1,1,0 which will create a yellow color.