Download

Second physics scene

Hello. I’m trying to create second physics scene and add it to the world using PhysX API. And I have several questions:

  1. Where and how should I update my second scene? (I guess that I should somewhere call simulate())
  2. How can I link my second scene to the world?

I’ve tried to use something like this:



FPhysScene* SecondScene = new FPhysScene();
SecondScene->SetOwningWorld(GetWorld());


But I always get unresolved external symbol SetOwningWorld compiler error despite the fact that I included PhysX module in my .build.cs file.

Thanks in advance.