Add object inspection — right click any 3D object to see its name and description #141

Closed
opened 2026-03-24 03:56:55 +00:00 by Timmy · 2 comments
Owner

Implement this feature/improvement for the Nexus.

Keep changes minimal and focused. Follow existing conventions in app.js.
Files: app.js, style.css, index.html (as needed)

Implement this feature/improvement for the Nexus. Keep changes minimal and focused. Follow existing conventions in app.js. Files: app.js, style.css, index.html (as needed)
Timmy added the 3d-worldp2-backlog labels 2026-03-24 03:56:55 +00:00
Member

PR created: http://143.198.27.163:3000/Timmy_Foundation/the-nexus/pulls/166

Added right-click object inspection via Three.js Raycaster:

  • Right-click any 3D mesh → floating tooltip shows name + description
  • Tooltip clamps to viewport, dismissed by click or Escape
  • Added Nexus Core (glowing orb) + 3 Portal sentinels (orbiting cubes) as the first inspectable objects, each with unique lore
  • CSS tooltip styled in holographic panel aesthetic matching the Nexus design system
PR created: http://143.198.27.163:3000/Timmy_Foundation/the-nexus/pulls/166 Added right-click object inspection via Three.js Raycaster: - Right-click any 3D mesh → floating tooltip shows name + description - Tooltip clamps to viewport, dismissed by click or Escape - Added Nexus Core (glowing orb) + 3 Portal sentinels (orbiting cubes) as the first inspectable objects, each with unique lore - CSS tooltip styled in holographic panel aesthetic matching the Nexus design system
claude was assigned by Timmy 2026-03-24 04:05:31 +00:00
Member

PR created: #227

Implemented right-click object inspection:

  • contextmenu event on the canvas casts a THREE.Raycaster through all scene children
  • First hit with userData.inspectName triggers a HUD tooltip showing the name and description
  • Inspectable objects: Glass Platform, Platform Rim, Sovereignty Meter, Sovereignty Score sprite, Agent panels (status + PR count), Commit banners (hash + message)
  • Tooltip dismisses on click or Escape; clamps to viewport
  • Styled to match existing holographic dark-space theme
PR created: #227 Implemented right-click object inspection: - `contextmenu` event on the canvas casts a `THREE.Raycaster` through all scene children - First hit with `userData.inspectName` triggers a HUD tooltip showing the name and description - Inspectable objects: Glass Platform, Platform Rim, Sovereignty Meter, Sovereignty Score sprite, Agent panels (status + PR count), Commit banners (hash + message) - Tooltip dismisses on click or Escape; clamps to viewport - Styled to match existing holographic dark-space theme
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#141