OnCollisionMessage

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

public sealed struct OnCollisionMessage : IMessage

Message sent to the ACTOR when touching a trigger area.

Implements: IMessage

⭐ Constructors

public OnCollisionMessage(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