Converting world position to 2D screen coordinates
💻 Expression 2•Updated 2 days ago•0 views
Transform the point into local view coordinates then divide by distance - gives coords in range about (-1,1); multiply by tan(fov/2) for the FOV factor. For E2 …
How to get local view/screen coordinates (campos/camang equivalent) for projection math
Transform the point into local view coordinates then divide by distance - gives coords in range about (-1,1); multiply by tan(fov/2) for the FOV factor. For E2 there was a worldToLocalAngles-based approach.