Moving a path object
by Dorian Yeager · in Torque Game Builder · 09/06/2008 (5:30 am) · 2 replies
All,
I've created a behavior that will automatically move an object to the offset of the players position. It works for your typical scene objects like a sprite. However, when I apply the same behavior to a path object I cannot get the path to move.
Is it impossible to move a path?
The idea was to have an enemy that flies in a loopish shape around and around the path as the path follows you around.
So that you would have a flying enemy that ducks at your head.
Any help is appreciated.
Dorian
I've created a behavior that will automatically move an object to the offset of the players position. It works for your typical scene objects like a sprite. However, when I apply the same behavior to a path object I cannot get the path to move.
Is it impossible to move a path?
The idea was to have an enemy that flies in a loopish shape around and around the path as the path follows you around.
So that you would have a flying enemy that ducks at your head.
Any help is appreciated.
Dorian
#2
02/21/2009 (9:32 pm)
So I think I figured out what is occurring. When one mounts a path to moving object, that path *does* actually get mounted to that object. However, that object's path nodes, do not get mounted (linked) to that object. Past that, I have not figured how to correct this problem in either the source or script.
Torque 3D Owner Chad Kilgore