FieldOfView2D

fun <T> FieldOfView2D(env: Physics2DEnvironment<T>, owner: Node<T>, distance: Double, aperture: Double)

Parameters

env
    the environment where this sphere of influence is.
owner
    the node who owns this sphere of influence.
distance
    the distance in meters at which the sight arrives.
aperture
    the amplitude of the field of view in radians.