Liberi
An exergame built for kids with CP!
BotNavHelper Class Reference

A helpful node Component for fast-cheap bot path finding. More...

Inherits MonoBehaviour.

Public Member Functions

Vector3 GetRandomPoint ()
 Returns a point in the walkable radius of this node. More...
 
BotNavHelper GetSiblingClosestTo (Vector3 point)
 Returns the sibling node closest to the point provided. More...
 

Static Public Member Functions

static bool IsTouching (BotNavHelper n0, BotNavHelper n1)
 Determines whether two nodes are "touching" (within eachothers discoverable radii). More...
 

Public Attributes

float DiscoveryRadius
 
float WalkableRadius
 

Detailed Description

A helpful node Component for fast-cheap bot path finding.

Definition at line 9 of file BotNavHelper.cs.

Member Function Documentation

Vector3 BotNavHelper.GetRandomPoint ( )
inline

Returns a point in the walkable radius of this node.

Definition at line 19 of file BotNavHelper.cs.

BotNavHelper BotNavHelper.GetSiblingClosestTo ( Vector3  point)
inline

Returns the sibling node closest to the point provided.

Definition at line 27 of file BotNavHelper.cs.

static bool BotNavHelper.IsTouching ( BotNavHelper  n0,
BotNavHelper  n1 
)
inlinestatic

Determines whether two nodes are "touching" (within eachothers discoverable radii).

Definition at line 57 of file BotNavHelper.cs.


The documentation for this class was generated from the following file: