Perceptive2D
class Perceptive2D<T> @JvmOverloads constructor(val environment: Physics2DEnvironment<T>, val node: Node<T>, val fieldOfView: InfluenceSphere2D<T> = FieldOfView2D(environment, node, DEFAULT_FIELD_OF_VIEW_DEPTH, DEFAULT_FIELD_OF_VIEW_APERTURE)) : PerceptiveProperty<T>
Base implementation of a pedestrian's capability to influence each other in a 2D space.
Constructors
Link copied to clipboard
constructor(environment: Physics2DEnvironment<T>, node: Node<T>, fieldOfView: InfluenceSphere2D<T> = FieldOfView2D(environment, node, DEFAULT_FIELD_OF_VIEW_DEPTH, DEFAULT_FIELD_OF_VIEW_APERTURE))
Types
Properties
Link copied to clipboard
The environment where node is moving.
Link copied to clipboard
The field of view of the pedestrian.
Link copied to clipboard
The list of influence spheres belonging to this pedestrian (by default, only its fieldOfView).