Skip to content

Exercise 15: A shockwave that bends the air

Purpose. To send a ring of bent air out from the explosion of Exercise 10, as a shockwave does.

A shockwave has no colour and no shape of its own. It is seen only because the world behind it looks bent for a moment, as through moving glass. No particle can show that. The Distortion emitter bends the picture itself.

  • The Explosion folder from Exercise 11 is in the workspace.
  • One new ordinary Part named Shock is inside the folder, at the centre of the explosion.
  • The camera looks at the explosion from 20 to 40 studs away, with scenery behind it. A bend shows only where there is something to bend.

Steps 1, 5 and 6 repeat earlier exercises.

StepControlActionResult
1ShockSelect. Press ▾ beside Transform, then Transform as Distortion.Shock turns invisible. The Properties panel shows the sections of a Distortion, with Emission, Field and Screen open. The Emit box reads 1.
2HUD ▸ Emit buttonPressFor half a second the view around Shock swells and settles. There is no clear ring yet.
3Properties ▸ Field ▸ WavelengthEnter 0.15No change yet.
4Properties ▸ Field ▸ SpeedEnter 8No change yet.
5Properties ▸ Emission ▸ LifetimeEnter 1No change yet.
6HUD ▸ Emit buttonPressA thin ring of bent air starts at Shock and spreads outward across the view for one second, fading as it goes.
7Properties ▸ Field ▸ Amplitude ▸ ⋯Press. Set the left-hand keypoint to 1 and the right-hand keypoint to 0. Press Apply.No change yet.
8ExplosionSelect, then press Emit on the HUDThe explosion plays with its flash and jolt. The ring races out from its centre, strong at first and gone by the edge of the view.

A Distortion emitter creates nothing in the workspace. For its Lifetime it bends the picture of the 3D world. The Part is an invisible marker for where the bend is centred. Distances on screen are measured in screen heights: 1 is about the height of the view.

Field chooses the shape of the bend.

FieldWhat is seenRows it uses
RippleOne ring that spreads out from the centre.Amplitude, Wavelength, Speed
WaveStraight waves that cross the whole view.Amplitude, Wavelength, Speed, Direction
NoiseAn uneven shimmer that drifts across the view.Amplitude, Noise Scale, Speed, Direction
BulgeA still lens that pushes the picture outward.Amplitude, Lens Radius
PinchThe same lens, pulling inward.Amplitude, Lens Radius

Rows that the chosen Field does not use are hidden.

RowStarts atWhat it sets
Field ▸ Amplitude0.5How strongly the picture is bent, over the life of the effect.
Field ▸ Wavelength1.5For a Ripple, the thickness of the ring. At 1.5 the ring is wider than the view, which is why step 2 showed a swell and no ring.
Field ▸ Speed3For a Ripple, how fast the ring grows. A Speed of 8 is 0.8 screen heights a second.
Screen ▸ EpicenterWorldPointWorldPoint centres the bend on the Part, wherever it appears on screen. ScreenCenter centres it on the middle of the view.
Screen ▸ Falloff0The distance at which the effect has faded to nothing, as for Camera Shake. At 0 there is no fade with distance.
Screen ▸ Strength1A plain multiplier on Amplitude.
Screen ▸ TransparencyA graph from 0.3 to 1How present the bend is, over the life of the effect. At 1 the effect cannot be seen. The starting graph ends at 1, so the effect ends without a jump.

Several distortions at once are added together.

SymptomCauseAction
Nothing bendsThere is nothing behind the effect to bend, or Shock is behind the camera.Look at the explosion with scenery behind it.
A swell, but no ringWavelength is still 1.5.Repeat step 3.
The ring is gone before it has travelledLifetime is still 0.5.Repeat step 5.
The effect ends with a jumpThe Transparency graph no longer ends at 1.Set its right-hand keypoint to 1.
The ring does not fire with the restShock is not inside Explosion.Drag it into the folder.
ChangeResult
Field Noise, Mode Animate, Loop on, Amplitude 0.15, Noise Scale 6, Direction 90, Screen ▸ Transparency 0.6, Falloff 60A heat shimmer that rises over a fire, seen only from near it.
Field Wave, Epicenter ScreenCenter, Mode Animate, Loop on, Wavelength 0.5, Speed 2The whole view wobbles, as under water.
Field Pinch, Lens Radius 0.3, an Amplitude graph that rises from 0 and returns to 0The view is pulled toward the Part and let go.
HUD ▸ Delay 0.05 on ShockThe ring leaves a moment after the flash.
Screen ▸ Falloff 100From farther away the ring is weaker, and beyond 100 studs it is not seen.
New in this exerciseTransform as Distortion. Field. Wavelength. Speed.
Done beforeTransform as (Exercises 11 to 14). Lifetime (many times). A graph that falls to 0 (Exercises 4, 5, 8 and 11). A Folder fired as one (Exercises 10 and 11). Falloff (Exercise 11).
Carried forwardKeep Explosion.