Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit3bb1da2647

README.md

mobility

Reports, and optionally batch-sets, geometry mobility across a scope. Every Model in the scope is listed with its authored mobility field ("auto", "static" or "movable") and what it resolves to ("static" or "movable"); static geometry receives lightmaps and occludes baked light, movable geometry samples probe volumes. Pass set to write a mobility onto every matched Model in one call, which is the override for an entity whose automatic derivation is wrong; omit it to only inspect. scope is an entity name/id (or an array of them) and defaults to the whole scene; match narrows by a name or id substring.

Returns { entries = { { id, name, field, resolved } }, statics, movables, changed }.

baking.mobility()
baking.mobility({ match = "crate", set = "static" })
baking.mobility({ scope = "props", set = "movable" })