OnTriggerEnteredMessage

Namespace: Murder.Messages.Physics
Assembly: Murder.dll

public sealed struct OnTriggerEnteredMessage : IMessage

Message sent to the ACTOR when touching a trigger area.

Implements: IMessage

⭐ Constructors

public OnTriggerEnteredMessage(int triggerId, CollisionDirection movement)

Message sent to the ACTOR when touching a trigger area.

Parameters
triggerId int
movement CollisionDirection

⭐ Properties

EntityId

public readonly int EntityId;

Returns
int

Movement

public readonly CollisionDirection Movement;

Returns
CollisionDirection