functiongenerated
Camera.orbit
Creates or retargets an explicit camera's engine-owned world-space orbit. Angles are radians; zero yaw is +Z behind the target, positive pitch is above it. Preserves offset, smoothing and collision settings. Target must be an active authored spatial entity, independent of the camera hierarchy.
Signature
Camera.orbit(camera: Entity, target: Entity, yaw: number, pitch: number, distance: number) -> unitMember of Camera
Related types
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b