FYI, casting can be expensive because they load the entire BP and you might want to (at least if you’re planning to release or your project is pretty large or memory-intensive) switch to using Blueprint interfaces (for instance using a function called “get Capsule Component World Location”) because this will save a pretty significant amount of memory if your character mesh is dense or something else the character BP has loaded is heavy.
1 Like