Move
Jump to navigation
Jump to search
Move | ||
---|---|---|
Build required | N/A | |
Version required | 0.3.19 |
The move command animates the position of an object.
Usage
move X [Y] [Z] [noloop OR loop] [nosync OR sync] [smooth] [noreset OR reset] [ltm] [wait=] [time=] [offset=] [name=] [global]
Arguments
- X Y Z
- The X, Y and Z distance in meters that the object will move (and back from). Movement goes along the world axis, unless Ltm is set. Need to specify at minimum X.
Default: Y is 0.0, Z is 0.0 - Noloop OR Loop
- Continue looping after having moved to (and back) the given distance.
Default: Noloop - Nosync OR Sync
- Make the object appear in the same position for all users by synchronizing its movement with the universe time.
Default: Nosync - Smooth
- Smoothly accelerate and decelerate the movement.
Default: Not applied - Noreset OR Reset
- Move back or reset position after completing half a cycle.
Default: Noreset - Ltm
- Move along the object axis, not the world axis.
Default: Not applied - Wait
- Time in seconds to wait before continuing movement after one half of a cycle.
Values: Decimal numbers greater than 0.0
Default: 0.0 - Time
- Time in seconds for the object to move one half of a full cycle.
Values: Decimal numbers greater than 0.0
Default: 1.0 - Offset
- Offset in seconds to apply to universe time when synchronizing.
Values: Decimal numbers greater than 0.0
Default: 0.0 - 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
Example
create move 0 10 0 smooth time=5 wait=3 loop
Move the object smoothly 10 meters up (5 seconds to complete), wait 3 seconds, move object smoothly 10 meters down (5 seconds to complete), wait 3 seconds, repeat (Loop).
activate move 10 0 0 ltm time=3 wait=1 reset global
When clicked, move the object 10 meters along its (Ltm) X-axis (3 seconds to complete), wait 1 second, snap back to original position (Reset), do not repeat. This is done for all users who see the object.
|
|
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 |