Away3D Local 3d to Global 2d point

/ Published in: ActionScript 3
Save to your folder(s)

Copy this code and paste it in your HTML
  1. var sv:ScreenVertex = camera.screen(object3d);
  2. var globalX:Number = sc.x + view.x;
  3. var globalY:Number = sc.y + view.y;

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.