![]() |
Plasma Engine
2.0
|
Holds the information about how a projectile interacts with a specific surface type. More...
#include <ProjectileComponent.h>
Public Member Functions | |
void | SetSurface (const char *szSurface) |
const char * | GetSurface () const |
Public Attributes | |
plSurfaceResourceHandle | m_hSurface |
The surface type (and derived ones) for which this interaction is used. | |
plProjectileReaction::Enum | m_Reaction |
How the projectile itself will react when hitting the surface type. | |
plString | m_sInteraction |
Which interaction should be triggered. See plSurfaceResource. | |
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 plMsgDamage. | |
Holds the information about how a projectile interacts with a specific surface type.