I created a new CPP project where I made my own CPP component. Let’s call it customActorComponent.
I would like to re-use this component in different, new Blueprint (non-CPP) projects.This is, I would like to create a new BP project, create a BP actor, and add customActorComponent from the blueprint.
CPP project produces .dll file of your game. That’s where the code for component lives, but it can’t be transferred to other non-cpp project. Non-cpp projects use prebuilt UE4 dlls and .exe’s so the game won’t know about your dll
There is no other way than changing the target project to cpp and adding copying your file.
I’m still trying to figure this out.
The project where I created my actorComponent (project a) generated 3 dlls:
./Binaries/Win64/UE4Editor-a.dll
./Intermediate/Build/BuildRules/aModuleRules.dll
./Intermediate/Build/BuildRules/RocketUE4ModuleRules.dll
I created a different cpp project (project b) and built it. Where do I place the project a dll files so I can add my actorComponent to project b?