Replace Root Component on an Inherited Class
So my question is: is it possible to replace the root component in a subclass if I've already changed it in the super class?
To explain more, I have a c++ class inheriting from Actor called BaseInteractable. I made the root component of BaseInteractable a SphereComponent. Now in a subclass of BaseInteractable, BaseInteractable_Child, I am trying to change the root component to a BoxComponent. But I am having issues with it. Does anyone know if a) this is possible to do and b) how I might do this?
Any help or advice is greatly appreciated thanks!
asked Dec 17 '16 at 09:57 PM in C++ Programming
Alright never mind haha. It's always right after you think you can't do something that you find the solution.
So apparently the solution was very simple:
This is the behavior I was going for, but hopefully others will find this helpful too.
answered Dec 17 '16 at 10:34 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here