Path Object: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
(first version)
 
(Add internal link, bolded first two words in heading paragraph, added categories, and a template.)
Line 1: Line 1:
{{feature|N.A.|0.3.48|||Path}}
{{feature|N.A.|0.3.48|||Path}}
Path objects allow you to create a path to be used for animating the position of an object.
'''Path objects''' allow you to create a path to be used for animating the position of an object.
{{Clear}}
{{Clear}}
= Creating a path 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:
In version [[Changelog#Version_0.3.48|0.3.48]] path objects are experimental but they can be used. The process of creating a new path object is still somewhat convoluted:
# Duplicate an existing object
# Duplicate an existing object
# Change the object type to ''Path Object''
# Change the object type to ''Path Object''
Line 14: Line 14:
  activate path MyPath1 resetafter=10
  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.
For the object to follow the path correctly the object's position must be the same as the path's origin point.
{{Build}}
[[Category: Building]]
[[Category: Object types]]

Revision as of 02:00, 14 October 2015

Path Object
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

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

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb