view does not update if finger is on screen

Software: Away3D 4.x

fig8, Newbie
Posted: 28 February 2012 02:41 PM   Total Posts: 10

did anyone already experiment with tapping Meshes? in my ADL the MouseEvent3D.CLICK fires just fine when i click on a mesh. on my iphone the object doesn’t react at all (except stopping it’s rotation until i lift my finger again).

   

fig8, Newbie
Posted: 28 February 2012 09:30 PM   Total Posts: 10   [ # 1 ]

this “stopping rotation” btw. is a bit more than this..

without registering ANY listeners for mouse, touch or sth. the view does not update/render as long as the finger remains on the screen. timers, etc. continue running.

as soon as the finger leaves the screen the view resumes (but you’ve missed the part out. like if a tween was fired, you touch the screen.. nothing happens, but if you release your tweened object jumps to the position where it would have moved in the meanwhile - but you just didn’t see as the view freezed)

   

fig8, Newbie
Posted: 28 February 2012 10:40 PM   Total Posts: 10   [ # 2 ]

seems as if this is the problem:

Exception fault: TypeError: Error #1010: A term is undefined and has no properties.
at away3d.core.raycast.colliders::TriangleCollider/updateRay()[..\away3d\core\raycast\colliders\TriangleCollider.as:128]

but as said - i didn’t register anything at all and got no idea how to fix it..

   

fig8, Newbie
Posted: 28 February 2012 11:13 PM   Total Posts: 10   [ # 3 ]

okay, here’s the fix:

don’t set .mouseEnabled to true on ANY mesh.

   

lechatpotte, Newbie
Posted: 08 March 2012 02:14 PM   Total Posts: 4   [ # 4 ]

Hello,

I have the same problem : works fine on adl but not on the iPad.
How do I do if I want to catch a mouseEvent3D.Click ? Did you solve it ?

Thanks

   

webfraggle, Newbie
Posted: 22 June 2012 02:54 PM   Total Posts: 3   [ # 5 ]

Any new about that. I have the same problem. A mesh needs to be clickable on the iPad. I’m using the latest github download.

   

webfraggle, Newbie
Posted: 22 June 2012 03:15 PM   Total Posts: 3   [ # 6 ]

With the latest github download, i had this error:

[Fault] exceptioninformation=TypeErrorError #1010: A term is undefined and has no properties.
FaultupdateRay() in TriangleCollider.as:171 

Just added a try..catch and it works:

override public function updateRayposition:Vector3Ddirection:Vector3D ):void {
   try{
    _rayTriangleKernel
.data.rayStartPoint.value [ position.xposition.yposition.z ];
    
_rayTriangleKernel.data.rayDirection.value [ direction.xdirection.ydirection.z ];
     
   
}catch(error:Error){
     
   }
   super
.updateRaypositiondirection );
  
   
   
‹‹ VideoTexture + Stage3D

X

Away3D Forum

Member Login

Username

Password

Remember_me



X