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

Ik modifier 3d qcp #43

Open
wants to merge 2 commits into
base: ik-modifier-3d
Choose a base branch
from
Open

Ik modifier 3d qcp #43

wants to merge 2 commits into from

Conversation

fire
Copy link
Member

@fire fire commented Jan 21, 2025

For review.

@fire fire marked this pull request as draft January 21, 2025 05:59
@fire fire force-pushed the ik-modifier-3d-qcp branch 24 times, most recently from 19eaa89 to da2fae9 Compare January 21, 2025 20:23
@fire fire changed the base branch from master to ik-modifier-3d January 21, 2025 20:38
@fire fire marked this pull request as ready for review January 21, 2025 20:38
@fire fire requested a review from TokageItLab January 21, 2025 20:38
@fire fire force-pushed the ik-modifier-3d-qcp branch 7 times, most recently from 2eba574 to 00df9e2 Compare January 22, 2025 08:13
@@ -76,8 +76,7 @@ void FABRIK3D::_process_joints(double p_delta, Skeleton3D *p_skeleton, Vector<Ma

// Forwards.
for (int i = 0; i < p_joints.size(); i++) {
// TODO: coding which is similer to above backwards moving.
// TODO: coding which is similar to above backwards moving.

Choose a reason for hiding this comment

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

whole loop is just this todo (the spellcheck is an improvement at least)

@fire fire force-pushed the ik-modifier-3d-qcp branch 3 times, most recently from ba0e284 to fe045b5 Compare January 22, 2025 19:42
@TokageItLab TokageItLab force-pushed the ik-modifier-3d branch 2 times, most recently from efe204c to df51a9f Compare January 23, 2025 10:22
@fire fire force-pushed the ik-modifier-3d-qcp branch 4 times, most recently from c0c9790 to ccef558 Compare January 23, 2025 19:45
@fire
Copy link
Member Author

fire commented Jan 23, 2025

Restored the old root transform solve. Still working on the rotation.

@fire fire force-pushed the ik-modifier-3d-qcp branch from ccef558 to afd090f Compare January 23, 2025 20:01
@fire
Copy link
Member Author

fire commented Jan 23, 2025

Pause for now.

Quaternion destination_rotation = p_space.basis.get_rotation_quaternion() * p_skeleton->get_bone_global_pose(p_joints[p_joints.size() - 1]->bone).basis.get_rotation_quaternion();

Doesn't seem to get the node path's rotation. Also which setting element?

@fire fire force-pushed the ik-modifier-3d-qcp branch 5 times, most recently from b3dd26d to abe3c0c Compare January 23, 2025 23:10
@fire
Copy link
Member Author

fire commented Jan 23, 2025

I removed all the code for the rotation as it wasn't doing anything. Revisit sometime in the future.

fire added 2 commits January 28, 2025 08:57
Add some documentation.

Add validation for joint settings and implement rootmost bone check

Fix rootmost bone validation and adjust bone chain transformation logic

Refactor joint processing logic to improve clarity and efficiency

Fix comments for clarity and adjust bone translation logic in CCDIK3D

Refactor CCDIK3D joint processing by removing unused rotation calculations
@fire fire force-pushed the ik-modifier-3d-qcp branch from abe3c0c to f23f7f2 Compare January 28, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants