Cast Node and Variable Node not Connecting Properly?

I’ve been trying to set up a collection system for my project, but I’ve been running into the issue that my cast nodes ‘as character’ is not connecting to the ‘target’ of my desired variable. It keeps giving me the error, 'paper character object reference is not compatible with a character object reference." Unsure how to resolve the issue.

(My character is based on a 2DPaperCharacter btw.)

1 Like

Cast to yourcharacter instead. And avoid placing orphaned nodes. Drag a wire first and then search:


You cannot connect it because the base 2DPaperCharacter class does not have the berry variable you added to the derived character class.

1 Like

Thanks!

1 Like