Hi,
I am migrating from 4.24 to 4.26.0.
I am using NVIDIA Physics handle at some point and that handle is disabled by default in the engine.
in 4.24 WITH_CHAOS is 0 by default
in 4.26 WITH_CHAOS is 1 by default
You can double check that from the following header file.
Physics/PhysicsInterfacePhysX.h
I would like to disable Chaos Physics.
PxRigidBody* rigid_body_handle = FPhysicsInterface_PhysX::GetPxRigidBody_AssumesLocked(BodyInstance->GetPhysicsActorHandle());
Two things I tried,
-
Adding
PublicDefinitions.Add(“WITH_CHAOS=0”);
to build.cs
-
Adding
bUseChaos = false;
to Editor.target.cs