add-3d-models
Installation
SKILL.md
Adding 3D Models to Decentraland Scenes
Where models go: main-entities.ts
A 3D model placed at author time is a static visible entity. Declare it in main-entities.ts, not via engine.addEntity() in src/index.ts. The build compiles main-entities.ts into main.crdt, the engine preloads it before main() runs, and the editor can drag/rotate the model interactively.
// main-entities.ts
import type { Scene } from '@dcl/sdk/scene-types'