Game Development Community

A path with multiple nodes that is not a circle? How?

by Dave Calabrese · in Torque Game Builder · 12/11/2006 (10:10 am) · 1 replies

I need to make a path that is essentially a straight line, however with nodes along this line, not unlike a trolley track with its stations. However, as soon as I add a third node, TGB turns my path into a triangle. I don't want it to do that... I don't want the last node to link to the first.

How can I make it so the last node does not link back to the first and I have a 'straight line'?

#1
12/11/2006 (10:25 am)
I too have been wondering this, but as a workaround you can set the end node (at least in script -- I haven't messed with paths in the editor much) using

setEndNode(%object, %node)

This way, even though your path is essentially a big loop, you can just set the end node to be where you want the end of your "trolley track" to be. :)