Scale: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
(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...")
 
mNo edit summary
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]]



Revision as of 00:02, 14 November 2012

Scale
Vp scale example.png
Panel 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