Rotate: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
Preliminary draft; Will expand/improve later.
 
mNo edit summary
Line 1: Line 1:
{{feature|1|0.3.19}}
{{feature|1|0.3.19}}
The '''rotate''' command creates a light source attached to the object
The '''rotate''' command rotates the object
{{Clear}}
{{Clear}}



Revision as of 21:14, 18 April 2014

Rotate
[[Image:{{{4}}}|center|middle|200x200px]]
{{{5}}}
Build required 1
Version required 0.3.19


The rotate command rotates the object

Usage

   move [X] [Y] [Z] [time=] [loop] [reset] [sync] [global]

Arguments

X
The X position that the object will rotate to
Values: Decimals between positive and negative infinity
Default: N/A
Y
The Y position that the object will rotate to
Values: Decimals between positive and negative infinity
Default: N/A
Z
The Z position that the object will rotate to
Values: Decimals between positive and negative infinity
Default: N/A
Time
Interval/length of the rotate animation effect in seconds
Values: Decimal numbers greater than 0.0
Default: ?
Wait
Specifies how long a looping rotation waits at either end of its journey, before moving back to the other location.
Default: ?
Loop

Default: Not set
Reset

Default: Not set
Sync

Default: Not set
Name
As with most other commands, you may choose to specify the name of another object to apply the rotate action to by using the optional name parameter.
Default: Not set

Example

create move 1 8 4 time=6 wait=3


move 0 0 -100 time=10 loop reset sync
Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb