Skip to content

fix: LegacyLerp was using ticklatency as opposed to legacy ticksAgo #3381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

NoelStephensUnity
Copy link
Collaborator

This update resolves the issue where the legacy lerp result was not yielding the same result as the original lerp. This update also resolves a secondary issue discovered by the services group where the final interpolation (i.e. last measurement in the queue) was not using a high enough precision value when determining if it reached its final destination point. This update also includes some inlining additions along with a spelling mistake with the IsApproximately method. It also updates the XML API regarding Legacy lerp to let users know that it does not use the tick latency value when calculating the ticksAgo value.

Changelog

NA

Testing and Documentation

  • No tests have been added.
  • Includes edits to existing API XML documentation.

This update resolves the issue where the legacy lerp result was not yielding the same result as the original lerp.
This update also resolves a secondary issue discovered by the services group where the final interpolation (i.e. last measurement in the queue) was not using a high enough precision value when determining if it reached its final destination point.
This update also includes some inlining additions along with a spelling mistake with the IsApproximately method.
It also updates the XML API regarding Legacy lerp to let users know that it does not use the tick latency value when calculating the ticksAgo value.
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner April 4, 2025 02:05
removing unused list from earlier walk through with emma.
removing unused variable
@NoelStephensUnity NoelStephensUnity enabled auto-merge (squash) April 4, 2025 03:53
Copy link
Collaborator

@michalChrobot michalChrobot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense! Nice fix

@NoelStephensUnity NoelStephensUnity merged commit bb0566c into develop-2.0.0 Apr 4, 2025
27 checks passed
@NoelStephensUnity NoelStephensUnity deleted the fix/bufferedlinearinterpolator-legacylerp branch April 4, 2025 07:39
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.

2 participants