Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdd348ac6c3

README.md

phys.spawnStatic

Spawn a new entity with a model and a static collider in one call — immovable geometry that only collides, such as floors and walls. Takes a display name and an optional model URL (defaulting to a cube), world position, and options matching phys.addBody plus a scale (a number for uniform scale, or a vector for per-axis). Returns the unique entity ID (e.g. ent_a1b2...), not the display name.