💬

Community answer

Collected from the ACE community Discord archive around 2024-01-20. 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

Combining multiple props into one physics mesh

💬 GeneralUpdated 2 days ago•1 views
Iterate the props, get each physics mesh via ent:getPhysicsObject():getMesh(), offset each vertex by the position delta from the first entity (and apply rotatio…

How to make a single mesh out of multiple props in SF

Iterate the props, get each physics mesh via ent:getPhysicsObject():getMesh(), offset each vertex by the position delta from the first entity (and apply rotations), and table.insert into one combined mesh - then create the custom prop from it. Useful for custom vehicle/prop collision.

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.