waypoint help

Blitz3D Forums/Blitz3D Programming/waypoint help

Add the following before the main loop:

visible_node=CreateSphere()
For a=1 To 10
CopyEntity visible_node()
PositionEntity visible_node, node_x(a), node_y(a), node_z(a)
Next

Now you will see the waypoints as little domes on the walkways.

The gargoyle is walking towards the 'target_piv'. 'target_piv' is updated and moved on to the next node based on that nodes coordinates in 3D space.