t2dPath Node
by Nathan Christensen · in Torque Game Builder · 06/12/2009 (7:54 am) · 4 replies
I am trying to get the positions of the nodes in a t2dPath object,
I am try to do something like this,
//Sudo code
node=t2dPath.getNode(node#);
nodePosition=node.getPosition();
I am try to do something like this,
//Sudo code
node=t2dPath.getNode(node#);
nodePosition=node.getPosition();
#2
06/12/2009 (11:14 am)
Is there a pathed object method that can ask what node are you going to or what position you going to?
#3
06/12/2009 (1:15 pm)
as far as i know, no, there isn't ... and its a feature that its been asked for ages now (knowing in what node you're at, at a certain time is something really needed when using paths).
Nathan Christensen
Longtail Studios
%testNode=%t2dPath.getNode(node#);
%nodePosition=%testNode.getPosition();
thanks.