I had things working (at least I thought) but in recent tests using a dynamic trimesh breaks everything.
It might be related to scaling a trimesh I'm not sure.
When doing a static trimesh for the ballBox demo it works, but switching the type to dynamic and the shape disappears. Logging out positions returns a vector of [Nan, Nan, Nan] so something is messed up.
I do what I thought it correct in the body-system around #648
Jolt hates DynamicTrimeshes
I had things working (at least I thought) but in recent tests using a dynamic trimesh breaks everything. It might be related to scaling a trimesh I'm not sure.
When doing a static trimesh for the ballBox demo it works, but switching the type to dynamic and the shape disappears. Logging out positions returns a vector of
[Nan, Nan, Nan]
so something is messed up.I do what I thought it correct in the body-system around #648
Heres the Jolt Docs on WHY NOT to use them but how to
Here's the cpp Example