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

Bone trembles while using large gravity #51

Open
WXGopher opened this issue Apr 18, 2022 · 0 comments
Open

Bone trembles while using large gravity #51

WXGopher opened this issue Apr 18, 2022 · 0 comments

Comments

@WXGopher
Copy link

WXGopher commented Apr 18, 2022

We've found that large gravity parameter (z = -5000 for example) will cause bone trembling/shaking.

We wonder if anyone would have any ideas/inputs on this.

Thanks!

Here is the setup:
image

1

P.S.
I think this is what was causing the trembling:

Bone.Location += (BaseLocation - Bone.Location) *  (1.0f - FMath::Pow(1.0f - Bone.PhysicsSettings.Stiffness, Exponent));

When the FPS fluctuates, even if we stand still, we still have the simulated bone pulling in/out of bone pose location (which is given by the animation pose).

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

1 participant