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

Added interpolation functionality to ik_look_at node #585

Merged
merged 4 commits into from
Feb 27, 2021

Conversation

ThomasFederau
Copy link
Contributor

@ThomasFederau ThomasFederau commented Feb 25, 2021

a slider with a range of 0 - 1 will now appear in the editor. Control of the bone is interpolated between the original bone rotation and the IK lookat rotation. In my opinion, this is basic functionality that should have been included in the first place, seeing as the Godot built in IK node has an interpolation slider.

a slider with a range of 0 - 1 will now appear in the editor. Control of the bone is interpolated between the original bone rotation and the IK lookat rotation.
@ThomasFederau ThomasFederau changed the title Added interpolation functionality Added interpolation functionality to ik_look_at node Feb 25, 2021
Made default "interpolation" equal to 1, to avoid breaking existing functionality
Copy link
Member

@aaronfranke aaronfranke left a comment

Choose a reason for hiding this comment

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

I'm not really sure why this is useful, but since the SkeletonIK node has this feature, it makes sense for this script to have it too. But please make the requested change below (and if you can, rebase and squash).

Requested change to better match gdscript standards

Co-authored-by: Aaron Franke <[email protected]>
Removed semicolons

Co-authored-by: Aaron Franke <[email protected]>
@aaronfranke aaronfranke merged commit fc03211 into godotengine:master Feb 27, 2021
@GeorgeS2019
Copy link

#984

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants