You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description: get_current_animation_position()
Are you seriously?
I was waiting for the compactness get_pos() current and animation they and so will be visible from the operated in front of the point
The text was updated successfully, but these errors were encountered:
First of all, I would suggest that you phrase your proposals in a more constructive manner. That's no "hellish syntax", that's a very personal opinion that you have on how the Godot API should be like, not a "bug". You could have phrased it "Renaming get_current_animation_position to get_pos" and left away the rant.
Now to the actual rant, Godot's API is always very descriptive. We changed get_pos to get_position in 3.0, and many other such changes as with autocompletion, characters are cheap, and we feel that clearer method names make for self-documenting code.
Regarding this specific method, I don't have a strong opinion. The name has to be different from get_position though, to prevent conflict with 2D and 3D node positions. And AnimationPlayer.get_position() doesn't make much sense, as it's the playback position of the currently playing Animation that you're retrieve (and that's a different object).
akien-mga
changed the title
3.0 beta2 hellish syntax detected
Renaming get_current_animation_position to get_pos
Dec 22, 2017
Godot version:
Godot 3.0 Beta 2
Issue description:
get_current_animation_position()
Are you seriously?
I was waiting for the compactness get_pos()
current and animation they and so will be visible from the operated in front of the point
The text was updated successfully, but these errors were encountered: