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! :smiley:

Thanks! :slight_smile:

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

http://i.imgur.com/sXpKaeE.png

Thanks! That helps alot, now just how do I use that to select it as a target when I have the attach to node up? Thanks :slight_smile:

Drag the As Side Scroller Character output of your cast to the In Parent input of your AttachTo node.