Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: ErV on October 11, 2006, 10:05:01 PM

Title: Enumerate all 3D actors in scene.
Post by: ErV on October 11, 2006, 10:05:01 PM
How can I enumerate all 3D actors in scene? Enumerating entities is easy (Scene->GetNumLayers, Layer->NumNode, Layer->GetNode, etc...), but actors doesn't appear among those nodes during enumeration...
Title: Re: Enumerate all 3D actors in scene.
Post by: Mnemonic on October 12, 2006, 06:47:44 AM
These methods only apply to "static" scene content. Since you're loading 3D actors dynamically, you'd have to keep track of them yourself, like storing them in some array when loading them etc.
Title: Re: Enumerate all 3D actors in scene.
Post by: ErV on October 12, 2006, 09:58:28 AM
These methods only apply to "static" scene content. Since you're loading 3D actors dynamically, you'd have to keep track of them yourself, like storing them in some array when loading them etc.
Thanks.