Instance Property

mass

The resistance of the agent to changes in speed or direction.

Declaration

@property(nonatomic) float mass;

Discussion

The higher the value of this property, the slower the agent will be to respond to goals that change its speed or direction, and vice versa.

See Also

Constraining an Agent’s Movement

maxAcceleration

The upper limit to changes in the agent’s speed or direction.

maxSpeed

The agent’s maximum forward speed, in units per second.

radius

The agent’s radius.