The material should already have been assigned by the time the mesh is finalized (when you get the asset complete event for the mesh.) I know that this is not the case for many parsers, but that's a bug.
For now you're gonna have to work around it somehow, until I've fixed the issue. Cheers /R On May 25, 12:03 am, Choons <[email protected]> wrote: > hi gang - am wondering when I parse in an OBJ or MD2 or other format > that specifies a material how I can catch in the code when the > automatic assignment of the material to the mesh happens. For example > I have been parsing in numerous md2 files into my app and I catch the > mesh, bitmap, and animator loads on the ASSET_COMPLETE event and name > them so I know what goes with what in the library. I'd like to catch > an event on the automatic material assignment so I can name the > material something more descriptive than the default > material01,02,03,etc. Can I do that?
