Impact CFX Main Page Index API Reference Change Logs
Legacy Impact Comparison Conversion From Legacy Impact
Impact CFX Project Settings Impact Tags Logging Impact Material Registry
Impact CFX Manager Material Mapping Managing Registered Materials
Impact Materials
Audio Effect Audio Source Prefab Audio Effect Processor Particle Effect Particle System Prefab Particle Effect Processor Decal Effect Decal Prefab Decal Effect Processor URP & HDRP Decals VFX Batch Effect VFX Batch Master Creating a Visual Effect VFX Batch Effect Processor Managing Attached Effects
Impact Objects Impact Object Single Material Impact Object Rigidbody Impact Object Rigidbody (Cheap) Impact Object Custom Velocity Objects With Multiple Materials Impact Terrain
Impact Triggers Common Trigger Properties Material Count Impact Collision Trigger Impact Slide and Roll Trigger Impact Speculative Collision Trigger Impact Simple Collision Trigger Impact Particle Collision Trigger Impact On Trigger Enter Impact On Trigger Stay
Impact Raycasting
FMOD Integration Wwise Integration Master Audio Integration
Custom Triggers Custom Objects Creating an Impact Object Script Impact Material Processors Custom Effects Impact Effect Authoring Asset Effect Result Effect Data Impact Effect Processors Impact Simple Effect Processor Impact Pooled Effect Processor Pooled Effect Object Pooled Effect Authoring Pooled Effect Result Pooled Effect Data Object Pool Pooled Effect Processor Add to Impact CFX Manager Example Effect Download

Particle Effects

Particle Effects are used to display particle effects for interactions. You can create a new Particle Effect by going to Assets > Create > Impact CFX > Particle Effect.

Particle Effects have the following properties:

  • Particle Prefab – The prefab for the particles that will be shown.
  • Particle Effect Type – The kind of particle effect.
    • One Shot – A one-shot effect good for single collisions.
    • Looped – Looped particles good for sliding or rolling effects.
  • Emit On Slide – Should particles be displayed when sliding?
  • Emit On Roll – Should particles be displayed when rolling?
  • Minimum Velocity – The minimum collision velocity required for then particle effect to be shown.
  • Collision Normal Influence – How much the collision normal will effect the calculated intensity of the collision.

Particle Prefab

Particle Effects require a prefab with an Impact Particle System component attached to it. You can add this script to your prefab by going to Add Component > Impact CFX > Particle > Impact Particle System.

Impact Particle Systems have the following properties:

  • Particle Systems – The Particle Systems that are being controlled.
  • Rotation Mode – How the particles should be rotated on the surface.
    • Align To Normal – Align the particles to the surface normal.
    • Align To Velocity – Align the particles with the velocity direction.
    • Align To Normal And Velocity – Align the particles to the surface normal, and also rotate them to match the velocity direction.
    • No Rotation – Don't do any rotation.
  • Axis – Which axis of the particles should be aligned to the surface.
  • Scale Size With Velocity – Allows scaling the particle start size based on the collision velocity.
    • Velocity Range – The velocity range to reference when comparing with the collision velocity.
    • Curve – Defines the scalar value that will be applied to the particles based on the collision velocity and Velocity Range.
  • Scale Speed With Velocity – Allows scaling the particle start speed based on the collision velocity.
  • Scale Lifetime With Velocity – Allows scaling the particle start lifetime based on the collision velocity.
  • Pool Size – The size of the object pool created for this particle system.
  • Stealing – How the object pool should handle cases when you want to retreive a particle system, but they are all in use.
    • None – Do nothing and no effect will be played.
    • Lower Priority – Attempt to take an active particle system with a lower priority than this one. Priority is set on Impact Objects.
    • Oldest – Take the particle system that has been active the longest.
  • Effect Attach Mode – Defines what object involved in the collision, if any, the effect should attach to. This can be useful for long collision effects that you want to follow an object. See Managing Attached Effects for more info on how to properly manage attached effects.
    • None – Don't attach to an object.
    • This Object – Attach to the object that triggered the effect, if it is present.
    • Other Object – Attach to the object that was collided with, if it is present.

Particle Effect Processor

The Particle Effect Processor is responsible for handling all Particle Effects at runtime.

You can create this component by going to Add Component > Impact CFX > Particle > Impact Particle Effect Processor. Make sure that you add this processor to the Impact Effect Processors list on your Impact CFX Manager

The Queue Capacity property defines how many particle effects the processor can handle in a single frame. This is automatically set based on the largest particle template pool size, but you can override it if you wish.