Mass and inertia values are drifting upon deserializing #1553
-
Both the mass and inertia seem to be kept internally only in their inverse values, as that's what matters for the physics calculations. We call Jolt.CreateBody(mass = 0.1) This is a concern to us, because we are experencing a desync when late joining a client. Any idea if this is a bug in jolt, intended behavior, or any way we could potentially receive the original value back from it. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
For performance reasons Jolt stores the inverse and for memory reasons it doesn't store the original value. So there's no way to get the exact original value back unless you store it somewhere in your own application. |
Beta Was this translation helpful? Give feedback.
For performance reasons Jolt stores the inverse and for memory reasons it doesn't store the original value. So there's no way to get the exact original value back unless you store it somewhere in your own application.