Replies: 2 comments 5 replies
-
I would first try increasing the update frequency to 60Hz (you can do this by setting inCollisionSteps = 2 in the PhysicsSystem::Update function). What kind of units are you passing into Jolt? I think Unreal uses cm while Jolt uses m. Are you converting these? (there are a number of tolerance values that won't work well if you change the units) |
Beta Was this translation helpful? Give feedback.
4 replies
-
B.t.w. very cool project! Are you sharing what you're doing on github? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I integrate Jolt into UnrealEngine 5, right now I only finished basic parts, things like physics material lefted untouched.
The vedio below shows two cube, one as floor, and one as a stick up in the air, when the stick falls down, it will insert into the floor and float up slowly.
https://user-images.githubusercontent.com/11873408/187613185-4d9d3888-f418-406c-bc43-623592c1f3ca.mp4
UE5 use coordinate system with Z-up, the stick is about 6 meters from the ground. Update frenquency is 30Hz.
I failed to reproduce it in the Samples project of this repository. What could possibly cause the problem?
Thank you for your attention to this matter.
Beta Was this translation helpful? Give feedback.
All reactions