How to properly enable physics in C++

Hello there,

I know this is an old post but it never received a proper answer.
If you want to activate physics you need to enable the collision first and then to enable Simulate physics.

SetCollisionEnabled(ECollisionEnabled::PhysicsOnly);
SetSimulatePhysics(true);

As this post still appears from google search it deserved an answer.

4 Likes