macgor
unread,Oct 24, 2010, 6:12:34 AM10/24/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Away3D.dev
It looks like BSPtree and any child that I add after is
mouseEnabled=false..
When I addChild to _view.scene, mouse events works, but not when mouse
is on BSPtree.
I'm trying to find the solution, I'm tracing HitManager now... found
that when mouse is over BSPtree PrimitiveType is DISPLAY_OBJECT....
but when for ex. sphere added to _view.scene (not
_tree.addChild(sphere)) and mouse over sphere PrimitiveType is FACE.
HitManager.as :
private function checkPrimitive(priIndex:uint):void
[...]
if (_primitiveType == PrimitiveType.FOG || _primitiveType ==
PrimitiveType.DISPLAY_OBJECT)
return;
[...]
So mouse events on BSPtree are impossible now?
Regards,
MG