Skip to content

Physics settings lost after ResetDynamics called #38

@honya15

Description

@honya15

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions