Defines what a projectile will do when it hits a surface.
More...
#include <ProjectileComponent.h>
Defines what a projectile will do when it hits a surface.
◆ Enum
| Enumerator |
|---|
| Absorb | The projectile simply stops and is deleted.
|
| Reflect | Bounces away along the reflected direction. Maintains momentum.
|
| Bounce | Bounces away along the reflected direction. Loses momentum.
|
| Attach | Stops at the hit point, does not continue further and attaches itself as a child to the hit object.
|
| PassThrough | Continues flying through the geometry (but may spawn prefabs at the intersection points)
|
The documentation for this struct was generated from the following file:
- /home/runner/work/ezEngine/ezEngine/Code/EnginePlugins/GameComponentsPlugin/Gameplay/ProjectileComponent.h