I edited the above post.
The projection issue is gone, was an error on my side!
Thats the code I used and put into the example after the other line of debugtext.
The projection issue is gone, was an error on my side!
Thats the code I used and put into the example after the other line of debugtext.
Local vec:TVector = cam.ObjectToScreen(cube) DebugText 0,20, "Coords: " + vec.x + ","+vec.y+","+vec.z DebugText vec.x, height-vec.y, "Cube" ' height - vec.y needed as OpenGL has reversed y. Else it looks like projection error!