Fix shifted joint radius index in SpringBone gizmo and remove unused end_bone_tip_radius
property
#101525
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The joint drawing index was misaligned and will be corrected.
Before this fix, the root bone's radius was being treated as if it were invalid, when in fact it was valid.
Wrong gizmo:
Wrong gizmo (extend end bone):
Internally, it behaved like this in the colliding process:
Internally, it behaved like this in the colliding process (extend end bone):
So this PR fix gizmo index to the latter.
The tip radius was only being used for drawing purposes, but was not actually working in colliding process. Since the end bone's radius is actually used and tip radius is not doing anything, remove it.
Also write end_bone behavior in detail in the documentation.