EFFECTS // UNITY

How to make a fire whirl in Unity

In Unity, you can play a fire whirl that spins flames into a 7 m column and loops every 2 seconds. Your agent makes PNG sprite sheets of 64 frames, and the Particle System's Texture Sheet Animation, with Tiles set to 8 by 8, plays them as a loop.

  • Godot 4 Available
  • Unity Manual setup
  • Unreal Engine Manual setup
  • Roblox Studio Manual setup
  • three.js Available

A draft compile is from $0.05, and new accounts start with $5 of usage.

FIRE_WHIRLFINAL
First frame of the fire_whirl bake
Fire whirl, 4.4 x 7.1 m, compiled with Spatial Compiler. Spec →

01 // WHAT YOU GET

What you get for fire whirl in Unity

The fire whirl spins its flames into a tall column. A vortex force in the spec does the spinning, so the twist comes from the simulation and not from rotating a sprite. The column is about 4.4 m wide and 7.1 m tall, and it loops every 2 seconds.

You get four PNG sheets of 64 frames, a layout.json with the timing, and previews, which Unity plays through a small material.

02 // BY HAND TODAY

Set up the fire whirl in Unity by hand

  1. Ask your agent for the effect (for example "a fire whirl like the example with a slower spin") and download the output folder. Import main_pos.png, main_neg.png and main_colour.png with Wrap Mode set to Clamp and Alpha Is Transparency off. They are data your material reads, not finished pictures, and the alpha of main_neg.png holds flame brightness, which that option would treat as transparency.
  2. Make a material for a Particle System. The quick setup uses the alpha of main_pos.png as opacity and its green channel (light from above) as brightness, tinted with your smoke color, and adds the flame on top: main_colour.png times the squared alpha of main_neg.png times scales.emit_max_hdr from layout.json. Shader Graph's Flipbook node or a small custom shader can read the sheets.
  3. In the Texture Sheet Animation module, set Mode to Grid, Tiles X and Y to 8 and Animation to Whole Sheet.
  4. Turn Looping on, set Start Lifetime to 2 s and keep Frame over Time a linear curve from 0 to 1 with Cycles 1 (the curve is normalized over the particle's lifetime), so each particle plays the fire whirl loop once per lifetime and new particles keep it going.
  5. Keep the particle square and set its size to the meters per tile in layout.json, a little over 7.1 m for the fire whirl, so it shows at its real scale.

03 // ADJUST IT

Adjust the fire whirl for your scene

It works as a set piece: a burning field, a spell gone wrong, a boss arena. Ask your agent for a slower spin, a thinner column or more smoke at the top, and it changes the vortex and the source in the spec.

04 // SETTINGS

Settings in the fire whirl spec

A vortex force along the column spins the gas, and the fire at its base feeds it. A weaker vortex gives a slower, wider whirl.

Ask your agent to change these and compile again; the full fire_whirl spec lists every value.

06 // FAQ

Questions about fire whirl in Unity

All questions →

README.UNITY_FIRE_WHIRL
Is there a fire whirl effect for Unity?

Start from the fire whirl example and ask your agent for a slower spin, then play the sprite sheets in Unity.

How do I loop a fire whirl flipbook continuously in Unity?

Turn Looping on in the Main module and match Start Lifetime to 2 s so the blended last frames wrap cleanly.

How do I make a realistic fire whirl in Unity?

Use a simulated whirl instead of manual particles. A vortex force spins the rising gas while fire at the base feeds it.

How do I keep the fire whirl in proportion in Unity?

Keep the particle square because every tile is square. Set 3D Start Size from meters per tile in layout.json, just over 7.1.

Should the first and last frames of a fire whirl loop match?

Yes. The fire whirl compile blends its last 12 frames into its first, so frame 64 leads straight back to frame 1.

Compile your first effect

You pay per compile and see the price before it runs. New accounts start with $5 of usage.

All effects, guides and explainers →