No interpolate_baked in Godot4 Curve ?
Asked Answered
P

3

0

I did notice there is no interpolate_baked function in Godot4, there is any way to workarround this or I had to manually implement something ?

Source code on Godot3:
https://github.com/godotengine/godot/blob/ac3322b0af8f23e8e2dac8111200bc69b5604c9f/scene/resources/curve.cpp

Source on Godot4:
https://github.com/godotengine/godot/blob/69f488e687dfb3526722d8511d3ce25a95b8fc4b/scene/resources/curve.cpp

Paling answered 26/4, 2023 at 19:42 Comment(0)
T
0

Far as I am aware no godot class has lost any functionality. Godot 4 was a major API refactoring in terms of naming schemes to make godot more internally consistent, especially between the 2D node classes and equivalent 3D node classes. In case of the curve node the following applies(godot 3 > godot 4):

interpolate > sample
interpolate baked > sample baked

Tindal answered 27/4, 2023 at 2:45 Comment(0)
P
0

Tindal
Thanks. Do you know if there is any documentation or list, or excel or something for the list of functions that has change names ?

Paling answered 28/4, 2023 at 0:53 Comment(0)
T
0

Every alpha and beta/RC releases were accompanied by change-logs. Though even those weren't necessarily all inclusive just highlighting the most significant changes. This is an opensource project tho, so you can always review the repo and changes made. Honestly too big of a task tho, and documenting all the changes would be an unreasonably enormous ask.

People need to accept that to a certain extent you either have to roll up your sleeves and put the effort in to a porting job to move your project from 3.x to 4.x or that for some projects it might just make sense to stick with 3.x(it's still maintained and supported for now and it'll remain usable even for years after it's support stops) and only adopt 4.x for future/new projects.

Tindal answered 28/4, 2023 at 12:22 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.