SpringController doesn’t work

Software: Away3D 4.x

Jenson, Newbie
Posted: 24 October 2013 03:20 PM   Total Posts: 3

Hi guys,
how can I apply SpringController to my camera?

the code:

      _cameraController = new SpringController(_view.camera, mesh);
      _cameraController.positionOffset = new Vector3D( 10, 10, 10 );
      _cameraController.autoUpdate= true;

doesn’t work..
what should I change?

thanks in advance

   

Jenson, Newbie
Posted: 24 October 2013 03:34 PM   Total Posts: 3   [ # 1 ]

solved, the mesh object was null…s-t happens wink

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X