Log inGet started
World

Small Brain. Big Clean.

Branchmain
Branchesmain
Commit0ede00712c

README.md

controller.orbit

Orbit camera controller. Orbits around a target entity or position. Mouse drag to rotate, scroll to zoom, optional auto-rotate.

Public fields: target (empty = use targetX/Y/Z), targetX, targetY, targetZ, distance, minDistance, maxDistance, sensitivity, zoomSpeed, autoRotate, autoRotateSpeed.

Controls: RMB drag to rotate, scroll to zoom.

entity(id).component.add("controller.orbit", { target = "player", distance = 10 })