Hello guys,
I made a simple platform that disappears when the character step on it.
My problem is that the platform doesn’t disappear when the character climbs it.
I’m a beginner and would appreciate any help, thank you
Hello guys,
I made a simple platform that disappears when the character step on it.
My problem is that the platform doesn’t disappear when the character climbs it.
I’m a beginner and would appreciate any help, thank you
Hey there @Gastouuu! Welcome back to the community! So it looks like your mantle system is probably overlap based, so it’s entirely circumventing the Hit event until the player jumps again.
Depending on how your character and mantle system is setup, you could also check for overlaps with the character on the obstacle with On Component Overlap
. That’d probably be the simplest way, but the immediate side effect would be that if you have large overlaps stemming from the player character, they could trigger the obstacle prematurely.
I tried to use On Component Begin Overlap but I have lots of different obstacles and, as you said, it sometimes triggers inaccurately
Is there a way for the mantle system to be detected as a hit? I am using the Advanced Locomotion System
Also, thank you for your help
I’m unfamiliar with the way ALS handles it’s mantling, but it’s likely fully overlap based and moving with direct translation so it will skip the hit regardless.
You’ll have to send your disappear command via an overlap, though you can have a specific component overlap checked instead of the entire actor.
Will try to do that, thank you