I’m trying to change the main PhysX scene to add a custom version of it.
I searched in the source code and I found the function CreatePhysicsScene in the class UWorld that it is called during initialization of UWorld object.
Is main FPhysScene always initialized by this function?
I need to know where is initializated the object of UWorld class. By searching through the code I found the static function CreateWorld that is used only by the editor to initialize the tools, and in the class UGameInstance I found these functions: InitializeStandalone, InitializeForPlayInEditor, InitializePIE, etc… that initialize the UWorld object but I’m not sure if these functions are called to create the UWorld object when the game will packeged (due to the names).
Where is created the UWorld object when the game start out of editor?
Please let me know how UE initialize the UWorld object, or point me to DOC that I’ve not found. Thanks you in advance!