Support - Forum aa
« Back to Support» custom cursor conflict with flare3D
Posted on 01.27.2012 by chen, chao
If I use Mouse.registerCursor and when I mouse up from scene3D, the Mouse change to default shape.
Why?
Why?
Reply By Vodopiviz, Ivan 01.27.2012
Hi,
This happens because scene manages some of your mouse interactions. Unfortunately, scene doens't know about your custom cursor and will default to the stock one.
One thing you can do is setting scene.mouseEnabled = false so the scene won't mess up your mouse events. Please keep in mind that if you do so you wont be able to add mouse-related events to your scene objects.
Hope this helps!
This happens because scene manages some of your mouse interactions. Unfortunately, scene doens't know about your custom cursor and will default to the stock one.
One thing you can do is setting scene.mouseEnabled = false so the scene won't mess up your mouse events. Please keep in mind that if you do so you wont be able to add mouse-related events to your scene objects.
Hope this helps!
Reply By Nehmad, Ariel 01.30.2012
hi chao,
we can try to work around this, but I can not promise.
maybe we can add some defaultMouseCursor property, but I'm not sure if this could work.
we can try to work around this, but I can not promise.
maybe we can add some defaultMouseCursor property, but I'm not sure if this could work.
Reply By Huang, Jason 04.14.2012
Any news for this issue? I have been troubled by this for a long time:(
Reply By Nehmad, Ariel 04.14.2012
hi guys, we'll look at this again.
we have some options.
a) add a defaultMouseCursor that you can define (right now when we change the cursor, we back to Mouse.curosr = MouseCursor.AUTO....so it will show you custom cursor again.
b) add a property to completely disable the mouse cursor changes and let you manage that cursor changes.
what do you think?
we have some options.
a) add a defaultMouseCursor that you can define (right now when we change the cursor, we back to Mouse.curosr = MouseCursor.AUTO....so it will show you custom cursor again.
b) add a property to completely disable the mouse cursor changes and let you manage that cursor changes.
what do you think?
Reply By Huang, Jason 04.14.2012
I think the option B is much better. For some cases, we need to change cursors depends on different meshes. And also the cusors would change in the both 2d layer and 3d layer. when mouse rolling on to a 3D mesh and there is also a 2d content overlayed on it, can we do something to disable the mouseEvent that is behind the top content like we used to handle 2d contents in flash. Currently when I using mesh.useHandCursor = true method. it would occur somthing very strange that the HandCursor wont change back if I rolling mesh and all the way to a 2D layer above.
Reply By Huang, Jason 04.14.2012
As reference, This is what I created with Flare3D 2.047b. Mabe it helps to resolve some issues in the new version:)
Reply By Huang, Jason 04.14.2012
And for this demo, I simply can not import to my IPAD2( model only,without any interactions but camera rotation):( it dies in IPAD2...
Popular
- 1. Question of Alpha sorting system
- 2. Rndering issue on AIR Mobile build
- 3. Problems with bone position?
- 4. Is it possible to make a primitive...
- 5. Messed up textures in Flare 3d Studio
- 6. Moving "by hand" the corners of a Plane
- 7. Shapes, splines and knots
- 8. Diferencia entre Flare3D Studio y...
- 9. Transform between two states
- 10. ReferenceError: Error #1074
