How to spawn custom actor from the content browser using C++?
I have created importer, which will import the actor asset in content browser but then i have to drag and drop it in "Viewport" to make instance of it. For creating Asset in content browser i have inherited UFactory and overridden FactoryCreateFile function.
I have the information about the position of the actor that needs to be placed in Viewport. But I'm unable to create instance of the asset in my Viewport.
Can any one help me this how to achieve this?
Thanks in Advance..
Found it on my own, UWorld::SpawnActor i was looking, i ran this on GWorld global variable and it spawns the actor from content browser.
answered Jan 11 '19 at 07:50 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here