Game Development Reference
In-Depth Information
5. Connect them and choose another Actuator called Steering . The Behavior for
Steering must be Path following . Target Object will be whale , and select Navmesh
for Navigaion Me .
6. If you want to see how the boat goes to the whale, select Visualize (a red line is
seen when you press P to view in 3D):
Make sure our object ship is selected, before making these connecions
in the logic Bricks editor. If you have problems viewing the path, display
the objects as a wire edge.
What just happened?
Thanks to the logic bricks, we have an enemy encircling us in a part of the game. We must
avoid this if we want to coninue the game. Yet the behaviors are not complete, as we have
not decided what to do if there is a collision.
Search Nedrilad ::

Custom Search