sounds perfectly sensible to me have you tried the clone() method? ;)
Rob On Mon, Jan 25, 2010 at 11:11 PM, jigidyjim <[email protected]>wrote: > Hello - I'm wondering if there are best practices for having one > Object3D file that contains all possible geometry, animation, etc. > that an avatar might have, and then create several different instances > based off that Object3D file that represent each individual character. > > For example, I want to have one collada file that contains everything > I need. That way we only need to load one file and everything is > always available. > > Then, over time, I'm going to want to create new Object3D instances > that only use part of that giant avatar file. > > Can I do something as simple as create a new ObjectContainer3D, then > call getChildByName() on the avatar object, then addChild() on my new > object? Can I do that to copy over animation data, skeleton, etc? Will > it actually create a new instance of the geometry so that 2 characters > can use the same geometry at the same time in different animations? > > Thanks for any advice you have. > -- Rob Bateman Flash Development & Consultancy [email protected] www.infiniteturtles.co.uk www.away3d.com
