thank you for your answer Li

I tested what you say and I get some values having a wrong offset (it
looks like this values are relative to screen, not to view???).
This is what use:

//cube is my mesh, view is View3D and sprite is used to test values
returned
var vertex:Vertex = new Vertex(cube.minX,cube.minY,cube.minZ);
var screenVertex: ScreenVertex = view.camera.screen(cube,vertex);
//because screenVertex.vx,screenVertex.vy are NaN I use
sprite.x = screenVertex.x;
sprite.y = screenVertex.y;

thanks

Reply via email to