Download

Character stuck in door after opeing it. Usual solution?

Hi.

I’ve tried a Castle asset I bought on the marketplace, and promptly got the character stuck in a door after opening it. I had that issue on many games I played before. Is there some kind of “standard solution” to that? Maybe something like once per second check if “character” overlaps “door” asset, and if it does, move character away until not overlapping anymore?

Check the collision meshes. The doorway might have collision in the shape of a box blocking anything from going through it.

If you look at the output log when this occurs, you might see that UE4 does in fact detects when the character is unable to move with some additional details. Because of this, I would assume there is some basic built-in function and\or maybe even some BP scripts to handle such an event, but I haven’t spent much time on this subject.