Browse Source
Improved particle trail management: instead of instantiating many tiny particle effects for each segment of the trail, instantiate a single particle trail effect and attach it to the entity. The particle system is made looping and simulates in world space, to have it create a proper trail. Particle trails are destroyed with a delay when detached from their entity, so that the particles have the time to finish their simulation.
readme
Improved particle trail management: instead of instantiating many tiny particle effects for each segment of the trail, instantiate a single particle trail effect and attach it to the entity. The particle system is made looping and simulates in world space, to have it create a proper trail. Particle trails are destroyed with a delay when detached from their entity, so that the particles have the time to finish their simulation.
readme
10 changed files with 83 additions and 36 deletions
-
33Assets/Scripts/Game/Entity.cs
-
6Assets/Scripts/Modules/GameModule.Interop.cs
-
13Assets/Scripts/Modules/GameModule.cs
-
22Assets/Scripts/Support/ParticleTrailController.cs
-
11Assets/Scripts/VisualStyle.cs
-
6Assets/Styles/Original/Particles/ParticleTrail.prefab
-
14engine/Quake/cl_main.c
-
4engine/Quake/r_part.c
-
4engine/Quake/render.h
-
6engine/UniQuake/game_uniquake.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue