[DynamicBoneFix] Fix flexible gimmicks. #81
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
IllusionMods/IllusionFixes!81
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "GimmickFix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the "bug" breaking some scenes mentioned in https://github.com/IllusionMods/IllusionFixes/issues/76 by fixing the premature end of the dynamic bone chain as explained in my comment.
@ -17,6 +21,23 @@ namespace IllusionFixes@ -20,1 +38,4 @@}#endif//Disable the SkipUpdateParticles method since it causes problems, namely causing jittering when the FPS is higher than 60From Issue:
"The change to the fix I implemented had the core purpose of allowing multiple consecutive bones in the notRolls list since that would end the bonechain prematurely before. Ending the chain prematurely is done by adding the children of a bone to the Exclusions list. [...] However, the devs used the bug that makes a chain end by adding two consecutive bones to notRolls."
This PR intercepts the AddObjectItem.Load process and adds the "N_setuzoku" bone to the m_Exlcusions list and clears the m_notRolls list. Like that the dynamic bone chain correctly ends on the gimmick again and does not continue into the item parented to it.