waypoint help

Blitz3D Forums/Blitz3D Programming/waypoint help

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

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.