How to make a pointer to an object/class?
I was suggested to use casting, but I can't find any examples that make full sense in terms of casting. Think of having a player character class, the character class having a camera and in another class I'm trying to get the location of the camera. I need to get a pointer to the player character object or class, but how do I do that?
asked Feb 15 '19 at 06:07 PM in Using UE4
This is a very broad question that doesn't have a succinct answer. I recommend watching Zak Parrish's video on blueprint communication. It's all in blueprint, but the concepts are the same.
As far as casting syntax, you'll typically want to use a templated cast like
answered Feb 15 '19 at 07:23 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here