Failed Casting?

Hi, I’m just trying to call a custom event when the player enters the physics volume, but for some reason the cast to “Mixamo_Goblin” is keep failing. If anyone could help me with this, I’d highly appreciate it. :slight_smile:

Thank you, it works now. :slight_smile: I don’t know if you could help with something else by any chance? With that custom event being called, I’m trying to set the character’s movement to 0 when the player enters the water. I was hoping for the character to be able to stop walking and slowly float down, but for some reason the character is still able to walk whilst in the water. Is there a way to prevent the character from walking whilst in a physics volume?

your problem is because “Overlaped actor” is the actor where you put the physics volume, Other actor is the actor colliding with the Physics volume, try to cast the Other actor to mixamo goblin instead of the overlapped actor

not sure what exactly you want, you can make the character “slowly float down” by making him fall, but changing the gravity scale, you can change the gravity scale in the character movement component as in the ss below:

you can make him stop walking by changing it’s max speed, you can try to change the max walk speed to 0, if you’ve set him to swin mode(with “set movement mode”), change max swin speed to 0, or using “disable input”, please if your first question was solved mark the answer as accepted. Hope i’ve helped.

Disable Input has worked, thank you so much!