💬

Community answer

Collected from the ACE community Discord archive around 2022-12-14. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Screen-space to world math for custom props

🖼️ RenderingUpdated 2 days ago•0 views
inverted view matrix * screen coord, scaled by z, then * inverted model matrix - same approach as GMod's context menu; or use numerical derivative methods.

Math for converting screen coords to prop surface (custom prop UVs)

inverted view matrix * screen coord, scaled by z, then * inverted model matrix - same approach as GMod's context menu; or use numerical derivative methods.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.