Skip to content

Cameras brick: node-target orbit, follow smoothing and tests #297

Open

Description

@brmassa

Current State

The cameras brick (org.mass4.turian.cameras) ships Follow, Orbit, FreeFly and FPS rigs. Follow keeps a fixed offset with no smoothing. Orbit targets a Vector3 rather than a node, so it cannot follow a moving object. The brick has no tests.

Tasks

  • Orbit: accept a node target and follow it
  • Follow: positional and rotational smoothing with configurable damping
  • Tests for each rig (offsets, smoothing convergence, target loss)
  • Document the rigs and their settings

Acceptance Criteria

  • An orbit camera tracks a moving node without user code.
  • Follow smoothing is deterministic for a fixed time step and covered by tests.

Related

#171 (virtual cameras: look-at, dead zone, collision avoidance and blending build on this brick)

Activity

  1. added
    c:engineEngine core: scene graph, components, serialization, systems
    p:mediumMedium priority — fix in next sprint
    size:S~1-2 days — focused task
    t:enhancementImprovement to existing functionality
    on Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c:engineEngine core: scene graph, components, serialization, systemsp:mediumMedium priority — fix in next sprintsize:S~1-2 days — focused taskt:enhancementImprovement to existing functionality

    Type

    No type

    Projects

    • Status
      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions