Interaction problem on iPad/mobile (PickingType.SHADER)

Software: Away3D 4.x

lele, Newbie
Posted: 25 March 2014 08:37 AM   Total Posts: 2

Hi all,
I have a problem on interaction with 3d objects in mobile.

In the web and desktop version, I can choose and click 3d objects overlapped like in figure, using

myView.mousePicker = PickingType.SHADER;


So, if I MOUSE_OVER or CLICK The Green-Cube in the figure, I’m selecting the Green-Cube. When I go over another color-cube, my selection change. Wonderful.
When I try on iPad, I can achieve the same result on the test environment (on the Flash Builder AIR Simulator), but when I install the app on the iPad, interaction is weird: I touch and the screen blink to black (then return normal) and nothing happens…

Is there something I can do to achieve same result on iPad/mobile like I have in web/desktop version?


Thank you in advance!
lele

——————
P.S. Notes:
My 3d cubes are Sprite3D and I’m listening MouseEvent3D (CLICK, MOUSE_OVER, MOUSE_OUT) attached to Mesh inside every Sprite3D.

My configuration:
I’m using Flash Builder 4.7, Adobe AIR 4.0 and Away3d 4.1.6

 

 

 

   

lele, Newbie
Posted: 26 March 2014 07:48 AM   Total Posts: 2   [ # 1 ]

So, changing the PickingType, I can avoid the black blinking, but I can’t select green-cube in the previous attached picture…
If i rotate the composition I can select the green-cube, but the other coloured-cube that become in that position is not selectable…

The thing I want to do in iPad and mobile is the same like web version:
When I click the composition I select the 3d object (the cube) more comfortable from my point of view…

is it possible having PickingType.SHADER in mobile or the same behaviour as described?

Thank you,
hoping someone could help me!
lele

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X