Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: enhance VRMSpringBone and VRMSpringBonePhysicsStrategy with opt… #1521

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

emadurandal
Copy link
Collaborator

…imized calculations

  • Refactored VRMSpringBone to improve the calculation of currentTail and prevTail positions, utilizing a more efficient approach for handling world and local positions.
  • Updated VRMSpringBonePhysicsStrategy to streamline inertia calculations and reduce temporary vector usage, enhancing performance in bone physics transformations.
  • Removed unnecessary temporary vectors to simplify the code and improve clarity in the physics strategy calculations.

…mized calculations

- Refactored VRMSpringBone to improve the calculation of currentTail and prevTail positions, utilizing a more efficient approach for handling world and local positions.
- Updated VRMSpringBonePhysicsStrategy to streamline inertia calculations and reduce temporary vector usage, enhancing performance in bone physics transformations.
- Removed unnecessary temporary vectors to simplify the code and improve clarity in the physics strategy calculations.
@emadurandal emadurandal force-pushed the fix/vrm-spring-bone-center branch from ebeb56d to 11af6fa Compare January 5, 2025 12:58
@emadurandal emadurandal merged commit 079572e into main Jan 5, 2025
4 checks passed
@emadurandal emadurandal deleted the fix/vrm-spring-bone-center branch January 5, 2025 13:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant