Path Object

From Virtual Paradise Wiki
Jump to: navigation, search
Path Object
[[Image:|center|middle|200x200px]]
Path
Build required N.A.
Version required 0.3.48


Path objects allow you to create a path to be used for animating the position of an object.

Creating a path object

In version 0.3.48 path objects are experimental but they can be used. The process of creating a new path object is still somewhat convoluted:

  1. Duplicate an existing object
  2. Change the object type to Path Object
  3. Deselect the object (required to work around crashing bug)
  4. Reselect the object
  5. Press the button labeled >
  6. Press the insert key (space key on Mac OS X) to create the first point

Adding existing points onto path objects

  1. Select a path object
  2. Click the last point in the list
  3. Press the Enter key
  4. Press the Insert key (space key on Mac OS X) to create a new point after the last point in the list

Applying the path to an object

The animation can be applied to an object using the path command, for example:

activate path MyPath1 resetafter=10

For the object to follow the path correctly the object's position must be the same as the path's origin point.

Object Scripting

Events:

ActivateCreate

Commands:

AmbientColorDiffuseFramerateLightMoveNoiseNormalmapOpacityPictureRotateShearScaleSignSolidSoundSpecularSpecularmapTeleportxyzTextureUrlWebVisible