Hello, i’m trying to do when the player hit an actor_BP (which is a trigger box) it cast to the agentAnim_BP but i don’t know what i need to link with the objet.
Thanks for your help.
Hello, i’m trying to do when the player hit an actor_BP (which is a trigger box) it cast to the agentAnim_BP but i don’t know what i need to link with the objet.
Thanks for your help.
Hey @Wadjidjo!
So casting isn’t exactly what you need to be doing here. You should try using a “Custom Event” on the Agent, then drag your skeletal mesh in, use “Get Animation Blueprint”, and then cast THAT to “agent_AnimBP” → set “Danse?” = true.
Then on your trigger box, you’ll use an Event Dispatcher to send that message to the agent Here’s some documentation on how that works!