Wave Warp


The Wave space warp creates a linear wave through world space. It affects geometry and behaves the same as the Wave modifier. Use the Wave space warp when you want the wave to affect a large number of objects, or to affect an object relative to its position in world space.

Wave Warp Parameter Description

Amp/Amp 2

Amplitude 1 produces a sine wave along the gizmo’s Y axis, while Amplitude 2 creates a wave along the X axis (although peaks and troughs appear in the same direction with both). Switching a value from positive to negative reverses the positions of peaks and troughs.

Wave

Specifies the distance in current units between the crests of both waves.

Phase

Shifts the wave pattern over the object. Positive numbers move the pattern in one direction, while negative numbers move it in the other. This effect is especially clear when animated.

Decay

Limits the effect of the wave generated from its origin. A decay value decreases the amplitude at increasing distance from the center. As this value increases, the wave is concentrated at the center and flattened until it disappears (completely decays).

Animate

Animate the wave

Divs

Number of divisions in the gizmo

NumSegs

Number of segments in the gizmo

NumSides

Number of sides in the gizmo

Wave Warp Class

[cc lang=”c#”]public class MegaWaveWarp : MegaWarp
{
public float amp;
public float amp2;
public float flex;
public float wave;
public float phase;
public bool animate;
public float Speed;
public int divs;
public int numSegs;
public int numSides;
}[/cc]

You must be logged in to post a comment.