Skip to content

Commit

Permalink
framing transposer dead zone drift
Browse files Browse the repository at this point in the history
  • Loading branch information
glabute committed Dec 19, 2024
1 parent a8e96c8 commit e17a146
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions com.unity.cinemachine/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).


## [2.10.4] - 2024-11-05
- Bugfix: FramingTransposer with a dead zone would sometimes drift.


## [2.10.3] - 2024-11-05
- Regression fix: Small changes to camera position and rotation were being filtered out.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ public override void MutateCameraState(ref CameraState curState, float deltaTime
realTargetPos - cameraOffset, hardGuideOrtho);
}
}
curState.RawPosition = localToWorld * (cameraPos + cameraOffset);
curState.RawPosition = camPosWorld + localToWorld * cameraOffset;
m_PreviousCameraPosition = curState.RawPosition;
m_InheritingPosition = false;
}
Expand Down

0 comments on commit e17a146

Please sign in to comment.