Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit8d45df8664

README.md

phys.spawnDynamic

Spawn a new entity with a model and a dynamic physics body in one call, given a display name and an optional model URL (defaulting to a cube) and world position. Options match phys.addBody plus a scale (a number for uniform scale, or a vector for per-axis). The entity pops in with a purple viz pulse so the spawn is visible. Returns the unique entity ID (e.g. ent_a1b2...), not the display name.