|
static void | drawView (PApplet app, MovingEntity v) |
|
static void | drawDetectionBox (PApplet app, double detectBoxLength, double speed, double maxSpeed, float colrad) |
|
static void | drawWhiskers (PApplet app, AutoPilot ap) |
|
static void | drawCollision (PApplet app, Vector2D vel, float colrad) |
|
static void | drawVelocity (PApplet app, Vector2D vel, Vector2D head, float colrad) |
|
static void | drawHeading (PApplet app, float colrad) |
|
static void | drawWanderBits (PApplet app, AutoPilot ap) |
|
Draw the steering behaviour hints for a particular entity (usually either MovingEntity or Vehicle entity).
Hints available are
HINT_HEADING the direction the entity is facing
HINT_VELOCITY the velocity vector
HINT_COLLISION the collision radius
HINT_WHISKERS the feelers used in wall avoidance
HINT_OBS_AVOID the detection box used in obstacle avoidance
HINT_WANDER the wander direction and circle
HINT_VIEW the area that can be seen by the entity
When setting the hints to be shown they can be or'ed together e.g. Hints.HINT_HEADING | hints.HINT_VELOCITY
- Author
- Peter Lager