pmndrs / pmndrs/ecctrl

bug: camFollowMult=0 freezes the camera position

Open
#107 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
797
Forks
98
Avg merge
8m
Merged PRs (30d)
1

Description

shouldn't camFollowMult=0 disable lerping and make the camera follow the player without delay?

https://github.com/user-attachments/assets/90f8411f-3cf0-41b0-960c-7967c91ffb10

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported behavior with camFollowMult=0 using the attached example or a minimal ecctrl setup, then trace the camera-follow and lerping logic. Done means the camera follows the player immediately at zero without freezing, while normal camFollowMult values retain their existing behavior; add or update a regression test if the project provides one.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.