How to refference a class blueprint in another blueprint?
Hello, I am trying to get a raft in my scene to attach to my character controller when it overlaps the trigger on it's blueprint however I seem to be unable to find a way to tag my character controller effectively in the blueprint to get this to work effectively. I know i'm probably making some dumb mistake but hey this is a learning experience! :D
asked Oct 10 '15 at 10:28 PM in Blueprint Scripting
You need to get the overlapping actor(your character object) and CastTo the type of actor is is. If you're using OnComponentBeginOverlap it will be the Other Actor
In the example below, the CastTo will fail for all overlapping actors that are not of the class BP_FirstPersonCrew
Drag the As Side Scroller Character output of your cast to the In Parent input of your AttachTo node.
answered Oct 12 '15 at 10:25 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here