Skip to content

Feat/orbit follow - #119

Merged
kvvasuu merged 33 commits into
mainfrom
feat/orbit-follow
Oct 9, 2026
Merged

kvvasuu merged 33 commits into
mainfrom
feat/orbit-follow

Conversation

@kvvasuu

@kvvasuu kvvasuu commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Adds OrbitFollow, a Body that orbits a target driven by three input axes: horizontal, vertical and radial.

  • Sphere and threeRing orbit styles
  • Damps the tracked target point
  • Recentering behind the target
  • rotationDampingBypass lets damped Aims (RotationComposer) follow the orbit's own turns
  • debug prop draws the orbit
  • lookRotation keeps HardLookAt / RotationComposer valid when looking along up
  • lockToTargetOnAssign captures again on mode change and on activation
  • autoNormalize prop and setFromPosition / setFromRotation to move the orbit from code
  • Docs, golden scenarios, benches, and new example scenes (OrbitFollow group, focused input examples)

Breaking: Follow now runs on the shared tracker. With any bindingMode but worldSpace, turning with the target is instant unless the new rotationDamping is set. follow.prime no longer takes params. Golden fixtures that use Follow were re-recorded.

Closes #33

kvvasuu added 30 commits October 8, 2026 09:32
@kvvasuu
kvvasuu merged commit b1c6a14 into main Oct 9, 2026
1 check passed
@kvvasuu
kvvasuu deleted the feat/orbit-follow branch October 9, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Explore: an OrbitFollow Body for orbiting around a target

1 participant