Instance Property

radius

The radius of the obstacle.

Declaration

var radius: Float { get set }

Discussion

The coordinate system for agents and obstacles is arbitrary; you may choose how to map agent and obstacle positions and sizes into your game scene.

See Also

Placing an Obstacle

var position: vector_float2

The position of the obstacle.