![]() |
ezEngine Release 25.08
|
Holds the information about how a projectile interacts with a specific surface type. More...
#include <ProjectileComponent.h>
Public Attributes | |
| ezSurfaceResourceHandle | m_hSurface |
| The surface type (and derived ones) for which this interaction is used. | |
| ezProjectileReaction::Enum | m_Reaction |
| How the projectile itself will react when hitting the surface type. | |
| ezString | m_sInteraction |
| Which interaction should be triggered. See ezSurfaceResource. | |
| ezUInt8 | m_uiImpulseType = 0 |
| Which impulse type to use. | |
| float | m_fImpulse = 0.0f |
| The force (or rather impulse) that is applied on the object. | |
| float | m_fDamage = 0.0f |
| How much damage to do on this type of surface. Send via ezMsgDamage. | |
Holds the information about how a projectile interacts with a specific surface type.