Scale

From Virtual Paradise Wiki
Jump to navigation Jump to search
Scale
Cube with scale (left) and without (right)
Build required 1
Version required 0.3.0


The scale command allows the user to change the dimensions of any side of an object

Usage

   scale size
   scale x y z

Arguments

Size
Controls the size of all of the dimensions (Same as setting X, Y and Z to the same value)
Values: Decimal values between 0.1 and infinity
Default: 1.0
X
Controls the size of the X dimension
Values: Decimal values between 0.1 and infinity
Default: 1.0
Y
Controls the size of the Y dimension
Values: Decimal values between 0.1 and infinity
Default: 1.0
Z
Controls the size of the Z dimension
Values: Decimal values between 0.1 and infinity
Default: 1.0

Example

create scale 1.5

noframe

create scale 2 0.5 3

noframe


Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb