I’m using ACharacter class.
I have moving pads on my level and I want them to push my character out of the way.
It only works when I’m moving, but when I’m idle the pads go through my character capsule as if collision is not being checked.
I’ve already tried setting BlockAll on my character’s Capsule Component:
and on my pad Box Collision Component:
I understand that the problem is connected to the fact that ACharacter Pawns aren’t being checked for collision while idle, is there a way to change that?
I’ve finally worked it out!
The whole problem was the lack of Collision Prisms on the Static Mesh I was using.
The Static Mesh I’ve chosen had 0 collision prisms:
after I changed to a random Mesh with 1 Collision Prism the pads started interacting with my pawn and all other objects according to the collision settings.
I hope this will help someone in the future, cheers.
Have you found any more insight into this issue since then? What exactly are collision prisms, and why is it the case that they’re required for collisions with a non-moving player but are not required when the player is moving? I will try your suggestion, but I guess I’m trying to find the absolute root of what’s going on.
Hi coming in to ask for some help as well. I haven’t been able to find anything on Collision Prisms, would you be able to link to some documentation or maybe give a little explanation? I’m having the same issue. Thanks for posting!
Glad someone is talking about this issue, and also because you got a solution. I got exactly the same problem, unfortunately having a mesh wish collision prims did not solve my problem. I have no idea what to do.
Hey guys, I didn’t receive notifications for half a year now for some reason.
As far as I recall, collision detection events in UE4 are checked only for moving pawns. The collision prisms solved only half of my problem. The problem was that I didn’t receive any collision events from the pads hitting my character at all. After I got the pads to register collision events with my character, I could then implement an algorithm that would move the character in the direction of the pads, creating an illusion of being pushed.
I don’t think there exists a feature in UE4 that allows you to achieve these effects without writing your own code for it.
I haven’t looked into this project for years now, I’ll have to get familiar with it again to give more tips.