Search code examples
flashvideo3dpapervision3dcollada

Papervision: MovieMaterial on a Collada object


Is it possible to put a MovieMaterial on an imported Collada object in Papervision? I can't find anything on the matter on the internet and anything I try on my own is in vain...

Thank you


Solution

  • DisplayObject3D's have a "replaceMaterialByName(material:MaterialObject3D, name:String):void" method which will allow you to do that. Hope it helps.