76 int alpha = 0x33000000;
101 if (!
other.IsTransport())
109 if (
other.IsScenery())
122 if (
other.GetCollisionRadius() < 0.05)
130 if (
other.IsScenery())
136 if (!
other.CanObstruct() && !
other.IsTransport())
vector m_DirectionFunc
The size of the boundig box, centered.
enum ProcessDirectDamageFlags m_Owner
vector m_OwnerDirection
The position of the owner in world space.
vector m_Transform[4]
If 'OnDebug' is to be called.
bool m_DebugEnabled
How much should the direction be favoured.
vector m_OwnerPosition
The owner performing the snap callback.
vector m_Extents
The true center of the bounding box of the object to be dropped in model space.
Super root of all classes in Enforce script.
override bool OnQuery(Object other)
override void OnDebug(vector p0, vector p1, bool hasHit, bool found)
override bool OnFirstContact(Object other)
void ~EntityPlacementCallback()
void EntityPlacementCallback()
override bool OnCollide(Object other)
proto vector Normalized()
return normalized vector (keeps orginal vector untouched)
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
static const float PI_HALF
static proto float Cos(float angle)
Returns cosinus of angle in radians.
static proto float Sin(float angle)
Returns sinus of angle in radians.