Path Object: Difference between revisions
Jump to navigation
Jump to search
Add internal link, bolded first two words in heading paragraph, added categories, and a template. |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
# Press the button labeled ''>'' | # Press the button labeled ''>'' | ||
# Press the insert key (space key on Mac OS X) to create the first point | # Press the insert key (space key on Mac OS X) to create the first point | ||
= Adding existing points onto path objects = | |||
# Select a path object | |||
# Click the last point in the list | |||
# Press the Enter key | |||
# 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 = | = Applying the path to an object = | ||
The animation can be applied to an object using the [[path]] command, for example: | The animation can be applied to an object using the [[path]] command, for example: | ||
activate path MyPath1 resetafter= | activate path MyPath1 [''resetafter=''] [''name=''] [''global''] | ||
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. | ||
== Arguments == | |||
; Resetafter : Resets the object to the beginning of the path after a period of time, in seconds. This can interrupt a path in progress.<br>'''Default:''' Not applied | |||
; Name : The name of the object(s) to initiate the command on (see [[Name]] for more information)<br>'''Default:''' Current object only | |||
; Global : If set, this will cause a trigger (e.g. activate, adone) to initiate this command for all users have the object in view. Otherwise, the command will be initiated only for the user who activates the trigger<br>'''Default:''' Not set | |||
{{Build}} | {{Build}} |
Latest revision as of 16:55, 24 September 2021
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:
- Duplicate an existing object
- Change the object type to Path Object
- Deselect the object (required to work around crashing bug)
- Reselect the object
- Press the button labeled >
- Press the insert key (space key on Mac OS X) to create the first point
Adding existing points onto path objects
- Select a path object
- Click the last point in the list
- Press the Enter key
- 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=] [name=] [global]
For the object to follow the path correctly the object's position must be the same as the path's origin point.
Arguments
- Resetafter
- Resets the object to the beginning of the path after a period of time, in seconds. This can interrupt a path in progress.
Default: Not applied - Name
- The name of the object(s) to initiate the command on (see Name for more information)
Default: Current object only - Global
- If set, this will cause a trigger (e.g. activate, adone) to initiate this command for all users have the object in view. Otherwise, the command will be initiated only for the user who activates the trigger
Default: Not set
|
|
Triggers: |
|
Commands: |
Animate • Animation • Ambient • Camera • Color • Diffuse • Frame • Framerate • Group • Light • Move • Name • Noise • Normalmap • Opacity • Path • Picture • Rotate • Say • Shear • Scale • Sign • Solid • Sound • Specular • Specularmap • Teleport • Teleportx • Teleportxyz • Texture • Url • Visible • Web |