I am trying to use “Collision/PhysXCollision.h” and a couple other private PhysX related files. It keeps giving my errors when I try to include them in my code, as expected. Is there a way I can get aroung this?
I have “PhysX”, “PhysicsEngine” can’t be found.
you are reciving errors because you should add modules.
Open VS and find YourProjectName.Build.cs file and you should see
PublicDependencyModuleNames.AddRange and inside you should add (I’m not sure) “PhysX”, “PhysicsEngine”
More about modules: https://docs.unrealengine.com/en-us/Programming/Modules/Gameplay
Modules list: Module list? - C++ - Unreal Engine Forums
You should use only #include “PhysXIncludes.h” remove other physx related includes.
PS: Sorry for “PhysicsEngine” may be a bit old.