I've been hacking away at this and I feel like I'm close, but there is something i'm not getting..
so I'm using the pin feature which works well with a single spawn object.. this object is one i place on the scene before runtime.. note this does not work if I create this object.. which is strange..
when the spawner starts off it creates a vehicle attachment, this vehicle attachment creates the other objects which are attached to it.. all of this works.. i can move the angle of the spawner and the object moves with it in relative space / positioning..
however, if I have two of theme on the scene.. only the first one makes all trucks move.. there doesn't seem to be a parent/child relationship between the two spawners and which items each spawner spawns.
I tried making a container for the truck, but that resulted in some errors.. not sure why, but when i grouped all of them together.. it didn't like it.
Here is the capx.. https://dl.dropboxusercontent.com/u/699 ... up%29.capx
I'm really stuck on this.. i have to figure out how to keep these things pinned and relative to each other.. and how to insure various instances of a spawner retain their parent/child relationships so each spawner and it's children operate independently.
why would an object that is spawned vs being on the stage behave differently? and regardless if there are more than one on stage, only the first one put on the screen is what effects all of them.
I don't get how to insure they know to only move in relation to their respective spawner.. notice that the truck itself spawns all the pieces correctly.. my assumption is that because a given object "creates" its relatively objects that it becomes the parent, but clearly there is something more going on to this that I don't grasp.
I almost wonder if this is a time for UDID to come into place, but I've never had luck making use of that.
Thanks!
Caleb