How can I get the actor location from an actor in another class?
I want to make a system where my character would teleport to another actor's location. So far, almost all of my attempts have involved this
However, it always has the same error: "a nonstatic member reference must be relative to a specific object". I doubt this has anything to do with the way I'm trying to teleport the character because I get the same error no matter where I use it within the character class. Can someone let me know how to do this properly?
asked Jun 04 '18 at 06:25 AM in C++ Programming
ALedgeR is not a spawned actor in the scene but a class type
answered Jun 04 '18 at 10:20 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here