Collada InteractiveScene3DEvent
Hey guys,
Another problem I'm having is trying to get object interactiong to work with my colladas. I got it to work with plane but not collada.
I enable interactive in the view...
view = new Viewport3D(this.width, this.height, false, true);
and for my collada i set the material to be interactive.
var mat:BitmapFileMaterial = new BitmapFileMaterial(visual.uri);
_geometry = new Collada(uri, new MaterialsList({all: mat }));
mat.interactive = true;
But it doens't work for colladas.
For my plane which works i do the following...
_defaultShape = new Plane(resource.material, 1, 1, 9, 9);
_defaultShape.material.oneSide = false;
_defaultShape.material.interactive = true;
Thanks