Shear

From ActiveWiki
Jump to navigation Jump to search
Shear
Build

1173

Version

5.1

The shear command allows you to shear an object, whilst preserving the model's volume.

Usage

shear x1 [y1 [z1 [x2 [y2 [z2]] [name=ref] [global]

x1 y1 z1 x2 y2 z2

The parameters to the [shear] action command take number values representing the shear angle each. The valid range for each value is between -5.0 to 5.0.

name

The name option allows you to apply skewing to one or more objects nearby by referencing to its name.

global

The global option can be used to share shear with neighbors.

Examples

create shear 1

The model will be skewed by 1 (equals 45°) in X axes, whilst preserving the model's volume.

create shear 0 .5 1.3333

The model will be sheard in Y axes in Z axes, resulting in an interesting perspective distortion.

Object Scripting

Triggers: CreateBumpActivateAdoneAtCollideSdoneEnter ZoneExit Zone

Commands: AddforceAddtorqueAlpharefAnimateAstartAstopCameraColliderColltagColorCoronaEnviExamineFrameGroupLightLinkLockMatfxMediaMidiMoveNameNoiseOpacityPictureRotateSayScale SeqShadowShearSignSkewSkyboxSolidSoundTagTeleport / TeleportxTextureTimerURLVelocityVisibleWarpWeb