Compass

Returns an angle in the x-z plane between the holder and target positions, scaled from 0 to 1. If the target is not valid (i.e. not present, in another dimension or too close to the holder position), a random value will be returned.

Constructors

Link copied to clipboard
constructor(target: CompassTarget, wobble: Boolean = true)