Converting a 3D target position to 2D screen coords
🔫 Weapons•Updated 2 days ago•0 views
Intersect the screen plane with the line from camera position to target - screen is the plane, ray is (targetPos - cameraPos); the intersection gives screen coo…
How to project a 3D world position onto the 2D screen for radar/HUD
Intersect the screen plane with the line from camera position to target - screen is the plane, ray is (targetPos - cameraPos); the intersection gives screen coords.