💬

Community answer

Collected from the ACE community Discord archive around 2022-10-22. It may be informal or outdated — anyone can edit this page to improve it. This topic changes between game versions — double-check before relying on it. Original discussion

Offsetting entity draws on a HUD with pushMatrix

💬 GeneralUpdated 2 days ago•2 views
Wrap each draw in render.pushMatrix(matrix)/render.popMatrix() - a different matrix per entity gives per-entity offsets. Note: in practice prop:draw() offset vi…

How to use pushMatrix to offset the drawing of entities on a hud

Wrap each draw in render.pushMatrix(matrix)/render.popMatrix() - a different matrix per entity gives per-entity offsets. Note: in practice prop:draw() offset via matrix didn't work reliably in SF; a workaround was found (hologram position setting works).

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.