-
Hey! I'm trying to implement Jolt in my engine, although I'm trying to create a collider for camera and get an error here -
And this is my method(I'm getting exception on body creation)
Errors I'm getting: pure virtual method called terminate called without an active exception |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
(this is documented here: https://jrouwe.github.io/JoltPhysics/class_physics_system.html#ae578fcd0c58f678156b7cd8b44f811a6) |
Beta Was this translation helpful? Give feedback.
SetBodyObjectLayerInternal
calls into theBroadPhaseLayerInterface
object that you provided inPhysicsSystem::Init
. Most likely you destroyed this interface after callingInit
. Instead, you need to ensure that the interface stays alive during the lifetime ofPhysicsSystem
.(this is documented here: https://jrouwe.github.io/JoltPhysics/class_physics_system.html#ae578fcd0c58f678156b7cd8b44f811a6)