Casting from c++ to blueprint
When I try to cast my c++ actor class to it's blueprint class, it fails. I'm not sure why since the blueprint class was created from the c++ class.
The createItem function spawns a new Aitem and returns its pointer. In blueprints, I then attempt to cast it but it always fails : image.
I think I know what is going wrong, you are trying to 'down'cast. A super class is casted to a child class. That isn't possible, you can only cast 'up', to a super class.
answered Feb 04 '18 at 03:41 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here