Shear

From DeltaWiki
Revision as of 20:15, 22 October 2024 by Xan (talk | contribs) (Created page with "{{TOCright}} {{feature|1173|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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Building2.jpg

Triggers: CreateBumpActivateAdoneAtCollideSdoneEnter ZoneExit Zone

Commands: AddforceAddtorqueAlpharefAnimateAstartAstopCameraColliderColltagColorCoronaEnviExamineFrameGroupLightLinkLockMatfxMediaMidiMoveNameNoiseOpacityPictureRotateSayScale SeqShadowShearSignSkewSkyboxSolidSoundTagTeleport / TeleportxTextureTimerURLVelocityVisibleWarpWeb