Game Development Community

Pathing

by Gellyware · in Torque Game Builder · 08/04/2006 (10:44 am) · 1 replies

How can you determine if a sprite attached to a path has reached a certain point?

Is there any way to find out the position of a sprite along a path?

Say for instance there are two filled circle sprites traveling a path, both circles are currently between node 2 and node 3 of the path and I want to insert a new sprite between the two but attach it to the path... is this possible? How?

Thanks in advance

#1
08/05/2006 (6:58 am)
There are many jewels of wisdom concerning paths in the TGB reference doc. Search for t2dPath, and that should take you to the path section.