💬

Community answer

Collected from the ACE community Discord archive around 2023-08-02. 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

getModelBounds returns wrong prop size

🌙 LuaUpdated 2 days ago•0 views
Model bounds include things like bodygroups (e.g. a door handle) so they overestimate. Try Entity:obbSize(), or loop over the model's mesh vertices via mesh.get…

Why does :getModelBounds() give wrong size info for a prop

Model bounds include things like bodygroups (e.g. a door handle) so they overestimate. Try Entity:obbSize(), or loop over the model's mesh vertices via mesh.getModelMeshes and take min/max xyz for the real bounds.

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.