Scale: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
Aerizeon (talk | contribs)
Created page with "{{feature|1|0.3.0| |Vp_scale_example.png|Panel with scale (left) and without (right)}} The '''scale''' command allows the user to change the dimensions of any side of an obje..."
 
Aerizeon (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{feature|1|0.3.0|  |Vp_scale_example.png|Panel with scale (left) and without (right)}}
{{feature|1|0.3.0|  |Vp_scale_example.png|Cube with scale (left) and without (right)}}
The '''scale''' command allows the user to change the dimensions of any side of an object
The '''scale''' command allows the user to change the dimensions of any side of an object
{{Clear}}
{{Clear}}
Line 15: Line 15:


==Example==
==Example==
  create scale 2
  create scale 1.5
[[File:Vp_scale_example_all.png|80x80px|noframe]]
[[File:Vp_scale_example_all.png|80x80px|noframe]]
  create scale 2 0.5 4
  create scale 2 0.5 3
[[File:Vp_scale_example_xyz.png|80x80px|noframe]]
[[File:Vp_scale_example_xyz.png|80x80px|noframe]]



Latest revision as of 20:14, 14 November 2012

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