Where should on add new systems like a procedural generation system or other single instance shared systems.
Lets say I have my own system for creating or generating meshs or loading them from an fbx. Essentially the system will return an instanses of a UMeshComponent. This system would then be called from different places based on need. GenerateTowerMesh(settings) or GenerateStairwayMesh(settings), so first of all no two instances should be created so no memory will be wasted.
But where in the engine should something like that go.
Should it be implemented as a plugin or some kind of singleton, should the GWorld proxy class be imitated, is there a different place to add it properly?
asked May 11 '17 at 06:38 PM in C++ Programming
In Unreal Engine's code a system like yours could be a Struct in a Module. Look for FMeshUtilities code in MeshUtilities.cpp
answered May 11 '17 at 06:49 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here