CNAT
bit left. If that object has ContactCalls activated, the engine calls on every contact of that vertex with the landscape the object script function ContactLeft. CNAT values are composed of the following bits:CNAT - Contact Attachment
In multiple places the engine uses ContactAttachment values (a bitmask) to manage the orientation of objects and processes. For example, a vertex of an object can have the
CNAT | Beschreibung |
---|---|
CNAT_Left | Richtung: Links |
CNAT_Right | Richtung: Rechts |
CNAT_Top | Richtung: Oben |
CNAT_Bottom | Richtung: Unten |
CNAT_Center | Richtung: Mitte (nicht für Attachment) |
CNAT_MultiAttach | Zusatz-Flag: neues Attachment-Verhalten für Objekte mit gleicher Richtung an mehreren Vertices. |
CNAT_NoCollision | Zusatz-Flag: kollisionsfreier Vertex |
CNAT_PhaseHalfVehicle | Extra flag: Entirely suppress collisions with HalfVehicle |
A vertex can have multiple CNAT values, they can be combined them with the | operator. Example:
Attach = CNAT_Bottom | CNAT_Left