wall.near

Syntax

wp = wall.near(vp<,frad>)

Find the closest wall to a point. If frad is specified, then the search radius is limited.

Returns:

wp - wall pointer

Arguments:

vp - position

frad - optional search radius