-
I hope I am not being annoying and find it at least slightly entertaining the ways I'm trying to break Jolt. :) When I set body.SetIsSensor(true) after it has already been added to the physics system (and some simulations have potentially already run), I get an assert failure at: This is the code that causes the assert failure: Is this simply not supported? What would be the solution, to remove the body from the scene and re-insert it? I tried doing so (please try to not bang your desk against the desk at my crazy code), but it still results in the same assert error: `
} I am trying to change the IsSensor flag on a kinematic triangle mesh, btw. This appears to work fine when I use a convex hull instead. Bug or intentional? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Your error means that you are now trying to (probably) collide a mesh with a mesh which is not supported. Make sure that your mesh sensor is not in a layer that collides with other meshes. |
Beta Was this translation helpful? Give feedback.
Your error means that you are now trying to (probably) collide a mesh with a mesh which is not supported. Make sure that your mesh sensor is not in a layer that collides with other meshes.