Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1 KB

File metadata and controls

23 lines (18 loc) · 1 KB

Bunnyland 3D Server Plugin

Out-of-tree Bunnyland plugin that contributes 3D presentation components plus movement and collision systems.

The package declares bunnyland.3d in the bunnyland.plugins entry-point group. When discovered by Bunnyland's plugin loader, it contributes:

  • Transform3DComponent
  • Velocity3DComponent
  • Collider3DComponent
  • Render3DComponent
  • RoomBounds3DComponent
  • Movement3DSystem
  • player-safe v2 capability and room-scene HTTP projections

Render3DComponent.asset_key and variant_key are validated logical keys, not remote URLs. Core models come from the web bundle; other plugins can register GLB, glTF, OBJ, and STL models through ModelAssetRegistry. The server converts them to immutable GLB media and exposes GET /3d/v2/assets/manifest. The player negotiates GET /3d/v2/capabilities and loads visible presentation state from GET /3d/v2/room/{room_id}.

The code intentionally lives outside bunnyland-server to exercise and document the out-of-tree plugin path.