I have a character in the form of Pawn. As you know, he has no physics. I need Pawn specifically for my purposes. Everything works fine, but there is one problem. The player moves back and forth, left to right. He can’t move up and down (Which is what I need). But when on the way on the ground meet small objects and he steps on them, he goes up and stays at the same height, although he has long passed this object. And he will never come down again.
How can I make it so that my Pawn never goes up and down when moving, so that it doesn’t meet on the ground or on the ceiling on its way?
Here’s an example in the video.
Hey @Stop-TussiN!
So what you need to do here if you absolutely MUST use a pawn with no physics is make the objects on the ground have no collision- or at least no collision with the player character. Things like the shoes are making the player step up onto them because they are small enough to create that interaction. Simply make them ignore pawn in their collision settings and you’re good to go!
I thought about this. What to do with the ceiling? There are places where there are low openings and the capsule hits them and the player becomes lower)
If that is the case, you need your collision capsule to be smaller.
You can shorten your collider, and if it makes the player shorter you can always move the camera up a little bit in the Z position to accommodate the difference!