Casting two children of same parent impossible?

I’m attempting to set a Boolean variable of one actor child via another actor child however nothing happens when the event is triggered. I’m probably not quite understanding the relationship between the cast to node and the object pin.

When live previewing the ‘flow’ stops at the casting node. I don’t get any error message so not sure how to diagnose this.

Hopefully someone can point me in the right direction. Any further reading regarding I would greatly appreciate, not having much luck finding meaningful information regarding blueprint to blueprint communication. Thanks!

It sounds like your BP_Isochip_B2_Interact actor doesn’t actually inherit from BP_Isobox, so the cast is failing.

Casts only work if the object you’re casting into another class is “actually” a member of that class (Or a class that inherits from it). Hook up some debug stuff to the “Cast Failed” pin to verify.

If you want to look up a tutorial or something to explain this in more depth, the keyword you’re looking for is “inheritance.” It’s a concept common to all object-oriented programming languages, so there will be lots out there.

Excellent, thanks for the heads up. I was searching generic terms and so not getting anything relevant back.

Much appreciated!