Skip to content
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

Skeleton::get_bone_global_pose function should be renamed #19551

Closed
tagcup opened this issue Jun 13, 2018 · 5 comments
Closed

Skeleton::get_bone_global_pose function should be renamed #19551

tagcup opened this issue Jun 13, 2018 · 5 comments

Comments

@tagcup
Copy link
Contributor

tagcup commented Jun 13, 2018

Skeleton's get_bone_global_pose returns the transform of the specified bone with respect to the skeleton, rather than the actual global/world frame (similar for the setter).

Something like get_bone_skeleton_pose would probably be a better name.

This would be a compatibility breaking change, so in the short term this could at least be documented.

@akien-mga
Copy link
Member

Thanks, I've added it to the list of methods to rename on #16863.

Once the documentation for the current name is improved, we can likely close this issue (and keep only the tracker open which references it).

tagcup added a commit to tagcup/godot that referenced this issue Jun 14, 2018
@tagcup
Copy link
Contributor Author

tagcup commented Jun 14, 2018

Can we add also get_bone_transform to that list?

That is, of course, assuming that you want to keep it. I'm not sure how it's useful. It's not used anywhere, and it's badly named.

@akien-mga
Copy link
Member

Can we add also get_bone_transform to that list?

Done.

Since we now have better docs that make the ambiguity clearer, closing this issue (simply to bring down the number of open issues :)). The actual renamings should happen as part of #16863 (but we can keep discussing proposals in this closed issue to keep things focused).

@tagcup
Copy link
Contributor Author

tagcup commented Jun 15, 2018

Thanks!

@akien-mga
Copy link
Member

@tagcup Unrelated, but I've sent you an email to the address used in your git commits last week, I'm not sure if that's an inbox you check regularly so notifying you here :)

akien-mga pushed a commit that referenced this issue Jun 22, 2018
Workaround for #19551.

(cherry picked from commit 195e963)
malcolmhoward pushed a commit to malcolmhoward/godot that referenced this issue Jul 31, 2018
malcolmhoward pushed a commit to malcolmhoward/godot that referenced this issue Jul 31, 2018
Workaround for godotengine#19551.

(cherry picked from commit 195e963)
malcolmhoward pushed a commit to malcolmhoward/godot that referenced this issue Jul 31, 2018
malcolmhoward pushed a commit to malcolmhoward/godot that referenced this issue Jul 31, 2018
Workaround for godotengine#19551.

(cherry picked from commit 195e963)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants