I am pretty sure the capsule component is causing an issue where if you have a square box and you collide on it, everything is fine unless you hit it at an angle. If you hit the corner of the collision it always bounces you back. I do not want a box to kick me back at all. I got it to work at every other angle but I feel like the capsule component is getting wedged at an angle and forcing the player backwards. I cannot figure out how to bypass this.
Anyone have experience with this?
I am just going to assume this is a bug with the capsule component that can’t be fixed. I have tried setting the capsule component to stop all velocity when it hits/overlaps stuff and it still knocks you back. Bummer!
somebody has solved this???
thanks
I’m guessing it’s just the physics result of the curved capsule hitting a corner. You could try replacing the capsule with a box, but that’s a big can of worms. Lots of falling through the floor.
You might be able to add a small box to the top of the capsule and give it collision, so that you have a flat surface hitting things above you, but retain all the existing capsule code.
Hey friend thank you!
I’ve tried the second option without success…I’ve add a collision box inside the player character and give it a collision but wont works =/
What’s the problem with it? Doesn’t fix the bouncing, or doesn’t collide?
Edit: I ended up having a similar issue today and got a good answer. The lack of collision has to do with how the MovementComponent works. Collision works when character walks into object, but not when object runs into character - World Creation - Epic Developer Community Forums