feisishui / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

InteractiveScene3DEvent wrong trigger #203

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a basic scene using the BasicView and several objects listening
for IS3DEvent.OBJECT_OVER.
2. Add a 2D-Component (external SWC wit MCs in it) for navigation, etc. and
use MouseEvents to work with them
3. Move the 2D MCs, in this case a vertical slider, to move the camera.

What is the expected output? What do you see instead?
It should just move the camera, which is working, but the OBJECT_OVER event
is fired while moving that slider. The slider is at the right of the scene
and the objects at the center, so there is no way the mouse is overlapping
the cubes and that slider at same moment.

What version of the product are you using? On what operating system?
WinVista Business
PV3D rev. 918

Please provide any additional information below.
It looks like there is an interference of the mouse position.
Tracing additional information of the ISM didn't actually help me, but here
is some of the reactions of the ISM when I'm moving on that slider:

viewport.interactiveSceneManager.virtualMouse: (x=0, y=0)
viewport.interactiveSceneManager.currentMousePos: (x=386, y=159)
viewport.interactiveSceneManager.currentMouseDO3D: 6: x:0 y:128 z:0
viewport.interactiveSceneManager.lastMousePos: (x=386, y=159)
viewport.interactiveSceneManager.mouse3D.position: x:0 y:0 z:0
viewport.interactiveSceneManager.currentDisplayObject3D: 6: x:0 y:128 z:0

Here is a screenshot of that situation:
http://www.blaupause.eu/file/flash/error.jpg

Original issue reported on code.google.com by tayfun.d...@gmail.com on 23 Jun 2009 at 9:19