Skip to content

Ch3_1. Steering Behaviors _ Basic Steering

SeongjinBak edited this page Aug 10, 2019 · 1 revision

In Ch3, our project has 2 usable scenes.

One for Basic Steering like Seek, Flee, Arrive, Pursuit, Evade and Wander.

And the other for Group Steering like Seperation, Cohesion and Alignment.


1. Basic Steering.

 There are a bird and fruit. 
 bird's target is always fruit so his steering behaviors's aim on the fruit. 

s0

2. The vectors what the bird have.

 THE HEADING VECTOR : RED

 THE DIRECTION OF VELOCITY : GREEN

 THE DIRECTION OF DESIRED VELOCITY : BLUE

s1

3. Wandering radius and Wandering target position.

 There is Circle shape gizmos in Scene view, 
 so you can check out the target position and the radius of wandering circle.

s2

4. Hiding position.

There are lots of purple colored shells in the scene view. Those are hide-able spots.
The bird will try to hide from the Dark colored shell when you put HIDE button down.
That down-directing arrow is the spot that our bird want it to hide.

s3

5. Interpose Vector.

There is a Cyan colored vector that directing a Interpose spot. 
That vector will be affected by both two green shells position.

s4

6. Inspector view.

 Of course, you can modify some values of the bird or agents in the scene 
 and check those value out.

s5