Skip to content

3D World Items

When an item is dropped from the UI, the system spawns a DroppedItem node in the 3D world. This node is a RigidBody3D that physics simulation acts upon.

Visuals

  • If the ItemDefinition has a model_scene assigned, that 3D model is instantiated as a child.
  • If no model is assigned, it falls back to a default BoxMesh so the item is still visible.

Current Bug: 3D Dropping Crashes

In the current codebase, dropping an item into the 3D world will crash the game because DroppedItem._setup_pickup() attempts to add a null node to the scene tree. To test 3D dropping without crashing, you must temporarily comment out the _setup_pickup() call in world/dropped_item.gd until the PickupComponent is fully implemented.

Pickup System (Implementation Required)