![]() |
XII Release 0.1.0
|
Holds the information about how a projectile interacts with a specific surface type. More...
#include <ProjectileComponent.h>
Public Attributes | |
xiiSurfaceResourceHandle | m_hSurface |
The surface type (and derived ones) for which this interaction is used. | |
xiiProjectileReaction::Enum | m_Reaction |
How the projectile itself will react when hitting the surface type. | |
xiiString | m_sInteraction |
Which interaction should be triggered. See xiiSurfaceResource. | |
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 xiiMsgDamage. | |
Holds the information about how a projectile interacts with a specific surface type.