FireSimulationPlugin
This plugin for Unreal Engine 4 enables the simulation of fire and smoke propagation within your scenes.
Install / Use
/learn @XcenaX/FireSimulationPluginREADME
FireSimulationPlugin
This is our first UE4 plugin. Plugin can contain bugs. If you found some, please inform. We will be very grateful
This plugin for Unreal Engine 4 enables the simulation of fire and smoke propagation within your scenes.
How to Use
Follow these steps to integrate the Fire Simulation Plugin into your Unreal Engine project:
Setting Up the Environment
-
Place the
FireManagerActorin your scene. -
Configure the Fire Grid:
- Create a
GridActorin your scene. - Assign the desired size to this actor to define the Fire Grid. The simulation will only occur within the bounds of this actor.
- Create a
-
You also must to place
ExponentialHeightFogon scene to make smoke work.
Preparing Actors for Simulation
-
Enable Fire Simulation for Actors:
- Add a
FireSimulationComponentto each actor you want to include in the fire simulation. - Specify the following properties for each actor:
Mass: The mass of the actor in kilograms.IsWall: Walls cannot burn.IsBurning: Iftrue, the actor is a starting point for the fire to spread. There MUST be only 1 starting point.Selected material: The name of a material that has a set of combustion parameters such as Linear flame speed, Lowest Heat Of Combustion, Burning Rate, etc. You can explore JSON file inYourProject\Plugins\FireSimulation\Content\Data\materials.json
- Add a
-
Mark Room Boundaries:
- Place
RoomMarkeractors in the scene to define the boundaries of rooms. Smoke will be generated within these boundaries.
- Place
-
Configure Doors:
- Add a
DoorComponentto every door in the scene. - Configure the component with
ConnectedRoom1andConnectedRoom2to specify which rooms the door connects. Please note that smoke will flow fromConnectedRoom1toConnectedRoom2. So to make smoke work properly you need correctly setup directions in doors. - Optionally, set
IsOpento indicate if the door is open or closed. if the door is closed the smoke will not pass through the door.
- Add a
Running the Simulation
- Configure and Run the Simulation:
- Navigate to the
FireSimulationtab in the Unreal Engine window. - In the modal window, set:
Fire Grid element size. The size of 1 element in grid. Example: 50 means grid will be filled with cubes with size 50x50x50Number of threadsfor simulation calculationsMeasure. The number of Unreal Engine untis that will be equal to 1 meter.Fire distance. Visualisation parameter. Distance between fire actors. The greater the distance, the fewer Actors will be required to represent the fire zone and fewer resources will be required.- Select a
Fire Particle System. Visualisation of fire. If you dont have Fire ParticlleSytem you can pick default visualisation located inProject/Plugins/FireSimulation/Content/P_Fire.uasset - Use
Draw Gridto visualize your grid in the scene andClear Gridto clear it. Be CAREFULL. If element size is too low this will crash UE. - Click
Confirm Changesto confirm and save plugin settings.
- Navigate to the
Example Images
-
FireSimulation tab:
-
Example of Scene:
-
Draw Grid Example:
EXAMPLE OF PLUGINS WORK
Scene setup
<img width="910" alt="image" src="https://github.com/XcenaX/FireSimulationPlugin/assets/40425017/06dcb48c-58ff-42b8-92e1-7d9d118ee0e4">10 seconds
40 seconds
150 seconds
185 seconds
240 seconds
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
