How to make a function output node return a Desired Object Refrence Type from trace hit result?
I want a function's output to be of a specific object reference type (ORT). I'm struggling to figure out how to do this in blueprints, as line trace (out hit hit actor) returns a generalized Actor ORT. I can check that the actor hit is of a specific type, which is okay for some defensive programming and was the solution for a similar question asked here. I have a bunch of other functions that all have the input the Desired ORT.
Basically, I'm looking for a way to make sure that hit actor is the Desired ORT and then have a output node be of that desired object reference. Any ideas on how to do this?
Hi you need to cast first to the actor in your case "BP Platform Base"
answered Apr 14 '19 at 03:12 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here