Download

Don't understand Casting Node

I have a class named “Rifle” which my Player Pawn holds in hand. I’m casting to Rifle to access a bool called “IsReloading” in my Player’s Animation Blueprint but while casting I don’t know what to attach to the object pin in the casting node.
Here is the Screenshot:
Casting
Thank You

You misunderstand the use of a Casting node. Casting Quick Start Guide

get an “Get Actor Of Class” node and plug in rifle in actor class, return value in to object

1 Like

Thank You