Game Development Community

How do you spawn (clone) a scene object mounted on a path?

by Man-Machine · in Torque Game Builder · 04/12/2009 (8:41 pm) · 1 replies

How do you spawn (clone) a scene object mounted on a path?

I tried cloning the path but it didn't work. I then tried cloning the scene object that is mounted on the path but still no go. How do I set up these two objects so that I can clone both at once? Or can't I?

I want to be able to clone and position the object on screen but I want the path it's associated with to come along.

Thanks

#1
04/13/2009 (8:43 pm)
No one??? I'm sure someone has run into this...

In my game I clone template objects whenever I need one during gameplay. Now, I need to clone one that moves with a certain pattern (path). There must be a way that I can clone and position the object and have the path that it is mounted to come along as well.

Right now, I'm alternatively trying this out but I can't get it to work either (and perhaps not even practical):

- Clone the path
- Position the path where I want it in the game.
- Clone the scene object.
- Mount the scene object in the path

Even if I get this to work when I mount the object in one of the nodes, the object's position is going to be offset from where I want it to be. There must be another way...

Anyone???

Thank you!