Closed kermado closed 5 years ago
Would you have more information? A minimal test doing just these two operations doesn't crash for me:
TEST_F(RigidBodyTests, KinematicSQ) { PxRigidDynamic* actor = getPhysics().createRigidDynamic(PxTransform(PxIdentity)); ASSERT_TRUE(actor!=NULL); if(actor) { actor->setRigidBodyFlag(PxRigidBodyFlag::eKINEMATIC, true); actor->setRigidBodyFlag(PxRigidBodyFlag::eUSE_KINEMATIC_TARGET_FOR_SCENE_QUERIES, true); } }
You might be doing something else on top of that, that triggers a crash. Would you have a small repro?
Closing until there is an update.
I get repeatable crashes (in debug) when just doing the following:
If I swap the order of these lines then it doesn't crash.