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

Physics settings lost after ResetDynamics called #38

Closed
honya15 opened this issue Aug 7, 2021 · 1 comment
Closed

Physics settings lost after ResetDynamics called #38

honya15 opened this issue Aug 7, 2021 · 1 comment

Comments

@honya15
Copy link

honya15 commented Aug 7, 2021

After calling ResetDynamics, all the bones reset their settings (eg. Damping, Radius, Stiffness, LimitAngle).

In FAnimNode_KawaiiPhysics::EvaluateSkeletalControl_AnyThread, the ModifyBones array is cleared, if bResetDynamics is true, but UpdatePhysicsSettingsOfModifyBones is not called, unless bUpdatePhysicsSettingsInGame is specified.
I suggest calling UpdatePhysicsSettingsOfModifyBones after the dynamics was reset.

@pafuhana1213
Copy link
Owner

Hi,

Sorry for my late reply. I have fixed this issue by following commit.
3aa2579

thank you for your point!

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

No branches or pull requests

2 participants