Collision capsule sticking?
I'm not sure if this is a bug or if I'm missing something, but I'm noticing a weird type of behavior with character collisions that I want to eliminate.
The following video should hopefully demonstrate the issue; note that during this video I never stop holding the forward key.
When the player collides with the wall, his movement is partially obstructed, and he continues as best he can. Since he cannot move "fully forward", he instead sort of slides along the wall in the closest possible approximation of the movement input.
When he collides with the enemy's capsule, however, this doesn't happen. If his capsule cannot move the way it's supposed to, it simply stops entirely. This makes moving the player near enemies impossible since the player gets stuck on them unless he moves at exactly the right angle.
How do I change the way the player movement works so that the player always Attempts To Move even if he cannot?
asked Aug 29 '14 at 04:55 PM in Using UE4
Nope, both are capsules. The player has a fairly wide capsule (not wide enough to render it spherical) while the enemy has a very narrow one.
I actually managed to solve the problem, albeit by setting the enemy capsule to Can Step Up On (ECB Yes or whatever it's called).
No idea why that should have fixed it, but it did.
answered Aug 29 '14 at 06:06 PM
From your video it appears you are using a sphere component to detect collision for your player (and possibly the enemy as well?) If you remove the sphere component and instead use a capsule component you should get the behavior you're expecting.
answered Aug 29 '14 at 05:22 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here