onMouseDown object3D to Vectord3D question

Software: Away3D 3.x

FJW, Newbie
Posted: 04 January 2013 04:29 PM   Total Posts: 20

HI, maybe its because I am still on v3.6 or away3D (due to problems with v4) but scenePosition is reporrted as 1119 error

I have the following code snippet
any advice anyone?
Best regards
FJW

public function onMouseDown(ev:MouseEvent3D) :void
  {
_mouseVector 
= new Vector3D
(ev.scenePosition.x,ev.scenePosition.y,ev.scenePosition.z);
      

//var obj2 : Object3D = ev.object;
   
   
   
trace(_mouseVector);
   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X