AgentComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct AgentComponent : IComponent

Implements: IComponent

⭐ Constructors

public AgentComponent(float speed, float acceleration, float friction)

Parameters
speed float
acceleration float
friction float

⭐ Properties

Acceleration

public readonly float Acceleration;

Returns
float

Friction

public readonly float Friction;

Returns
float

Speed

public readonly float Speed;

Maximum speed of this agent

Returns
float