---
title: "Impact effect in Unity from a sprite sheet"
description: "Play an impact effect in Unity using Texture Sheet Animation on an 8 x 8 PNG sprite sheet."
canonical: https://appliedmanifold.com/effects/unity-impact/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Effects](https://appliedmanifold.com/effects/)
3.  [Unity VFX](https://appliedmanifold.com/effects/unity-vfx/)
4.  Unity impact

EFFECTS // UNITY

# How to make an impact effect in Unity

In Unity, you can play a shell impact with a flash, thrown earth and smoke in 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 once.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [What the sheets hold →](https://appliedmanifold.com/docs/pyrofx/outputs/)

-   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.

**IMPACTFINAL**

![First frame of the impact bake](/bakes/impact/poster.webp)

Impact, 3.5 x 2.8 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-impact)

01 // WHAT YOU GET

## What you get for impact in Unity

The impact is a shell hitting dry ground: a bright flash, a spray of thrown earth and a little smoke, about 3.5 m wide and 2.8 m tall. Three emitters share one simulation: the flash is hot and short, and the earth is cold, so it falls back. It plays once in 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 impact in Unity by hand

1.  Ask your agent for the effect (for example "a mortar hit on dry ground that plays once") 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 off, emit one particle with a Burst, set Start Lifetime to 3.2 s, Cycles to 1 and Stop Action to Destroy. The impact's frames crowd its fast start, so key Frame over Time from the frame times in `layout.json` (frame index divided by 64 against time divided by 3.2 s), or ask for a compile with `export.pacing = "even"` and keep a linear curve from 0 to 1.
5.  Keep the particle square and set its size to the meters per tile in `layout.json`, a little over 3.5 m for the impact, so it shows at its real scale.

03 // ADJUST IT

## Adjust the impact for your scene

Use it for artillery, grenades, rockets and heavy hits. Ask your agent for a wetter, darker spray for mud, a smaller hit for bullets on dirt, or a stronger flash for a night map.

04 // SETTINGS

## Settings in the impact spec

Three emitters share one simulation: a hot, short flash, cold earth that falls back, and a little smoke.

Ask your agent to change these and compile again; the [full impact spec](https://appliedmanifold.com/docs/pyrofx/examples/#ex-impact) lists every value.

05 // RELATED

## Related pages

-   [Godot impact Godot 4A shell impact with a flash, thrown earth and smoke in 2 seconds, dropped into a Godot 4 scene by your agent.](https://appliedmanifold.com/effects/godot-impact/)
-   [Unreal impact Unreal EngineA shell impact with a flash, thrown earth and smoke in 2 seconds, played in Unreal Engine by hand today.](https://appliedmanifold.com/effects/unreal-impact/)
-   [Roblox impact Roblox StudioA shell impact with a flash, thrown earth and smoke in 2 seconds, played in Roblox Studio by hand today.](https://appliedmanifold.com/effects/roblox-impact/)
-   [three.js impact three.jsA shell impact with a flash, thrown earth and smoke in 2 seconds, played in three.js with a documented snippet.](https://appliedmanifold.com/effects/threejs-impact/)
-   [Unity fire UnityA looping fire, from a burning wreck to a fire whirl or a window fire, played in Unity by hand today.](https://appliedmanifold.com/effects/unity-fire/)
-   [Unity explosion UnityAn explosion that plays once, a ground fireball or a shell impact, played in Unity by hand today.](https://appliedmanifold.com/effects/unity-explosion/)
-   [Impact sprite sheetA shell hit on dry ground as a 2 second one-shot sprite sheet, the three sources that make it, and how to vary hits across a barrage.](https://appliedmanifold.com/effects/impact-sprite-sheet/)
-   [Loop vs one-shotLooping effects repeat until stopped and one-shot effects play once and fade out, and each needs its own frames and settings.](https://appliedmanifold.com/learn/loop-vs-one-shot/)
-   [Play an explosion once UnityMake a Unity Particle System play an explosion flipbook a single time and destroy itself, with a prefab and a spawn script.](https://appliedmanifold.com/guides/unity-play-explosion-once/)
-   [OutputsWith the default export, each view writes four sheets, `<view>_pos.png`, `_neg.png`, `_colour.png` and `_aux.png`, plus `layout.json`, two still previews, the animated `preview_anim.png` and `bake_report.json`. Sheets are 8 x 8 tiles of 256 px by default.](https://appliedmanifold.com/docs/pyrofx/outputs/)

[All pages in Unity VFX →](https://appliedmanifold.com/effects/unity-vfx/)

[← Unity fireball](https://appliedmanifold.com/effects/unity-fireball/)[Unity smoke plume →](https://appliedmanifold.com/effects/unity-smoke-plume/)

06 // FAQ

## Questions about impact in Unity

[All questions →](https://appliedmanifold.com/faq/)

**README.UNITY\_IMPACT**

### Is there an impact effect for Unity?

Start from the impact example and ask your agent for a mortar hit on dry ground, then play the sheets in Unity.

### How do I play the impact once instead of looping it in Unity?

Turn Looping off, emit one particle with a Burst, set Start Lifetime to 3.2 s and key Frame over Time from layout.json.

### How do I make a realistic impact in Unity?

Use a simulated impact instead of manual particles. Three emitters share one simulation for the flash, falling earth and light smoke.

### How do I keep the impact 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 3.5.

### How many frames should a ground impact effect use in Unity?

The impact compile uses 64 frames over 2 seconds, giving more frames to the fast burst and ending on an empty frame.

## Compile your first effect

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

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Outputs →](https://appliedmanifold.com/docs/pyrofx/outputs/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
