clump.pebble.near

Syntax

cp = clump.pebble.near(vp<,frad>)

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

Returns:

cp - pebble pointer

Arguments:

vp - position

frad - optional search radius