How to implement similar function where scene root can be replaced.


I am wanting to try to replicate this functionality within my Cpp Derived Actor class. The idea is I can replace the default scene root with another component on the BP side if I need to.

I can’t work out how Epic do this so be great if someone knows at all.