Creating Rigid Bodies in Code
Spawn entities with collision and rigidbody components entirely from scripts for procedural physics objects.
Spawn entities with collision and rigidbody components entirely from scripts for procedural physics objects.
Clone editor-authored tile entities onto a grid with random selection to assemble simple procedural levels at runtime.
Instantiate entities from scripts, parent them under the scene root, and attach components to build objects without the editor.
Build a heightmap terrain mesh with the Mesh API, displacing vertices from a texture and applying blended tiling materials.