-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Expand lerp function to include Transform2D and Transform3D #10579
Labels
Milestone
Comments
Given that So I'd say feel free to open a PR whoever wants to tackle it. Here's relevant source. |
Implemented by godotengine/godot#96496. |
addmix
pushed a commit
to addmix/godot
that referenced
this issue
Sep 6, 2024
WhalesState
pushed a commit
to WhalesState/blazium
that referenced
this issue
Mar 8, 2025
WhalesState
pushed a commit
to WhalesState/blazium
that referenced
this issue
Mar 8, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the project you are working on
Online action game with rollback
Describe the problem or limitation you are having in your project
It doesn't work with
Transform3D
andTransform2D
. ButTransform2D
andTransform3D
have the following lerp functions which should be invoked for their type:https://docs.godotengine.org/en/stable/classes/class_transform3d.html#class-transform3d-method-interpolate-with
Describe the feature / enhancement and how it helps to overcome the problem or limitation
It fills a minor oversight of the Variant types valid for this function.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
lerp also includes
Transform2D
andTransform3D
If this enhancement will not be used often, can it be worked around with a few lines of script?
Yes, by writing your own singleton lerp wrapper class. Not important really, but would make the code cleaner by cutting off 1 class.
Is there a reason why this should be core and not an add-on in the asset library?
it expands an existing engine function
The text was updated successfully, but these errors were encountered: