Rotate: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
mNo edit summary
 
Line 17: Line 17:


==Example==
==Example==
  create move 1 8 4 time=6 wait=3
  create rotate 1 8 4 time=6 wait=3




{{Build}}
{{Build}}
[[Category: Script commands]]
[[Category: Script commands]]
move 0 0 -100 time=10 loop reset sync

Latest revision as of 21:15, 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 rotate 1 8 4 time=6 wait=3


Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb