2D collision issues?

Hello,

I came across this issue when working in my game:


The issue that I’m facing is that the collision seems to be causing my character/camera to glitch out whenever it collides with something. I’m using the 2D side scroller template.

When I grabbed the Capsule Component and resized it, however, it seems to fix the issue. The only problem now is, well, just see for yourself:


My guess was that the root of the problem was that the capsule component did not fully encapsulate the sprite, since it worked when I resized it. I did, however, make sure that the sprite wasn’t generating any collision events, so I’m out of ideas.

I really appreciate your help!

Thank you!

same problem

Are you using spring arm on camera? If so, try to disable its collision.

If that wasn’t the case can you show your implementation of the camera?

it seems we are experiencing some old posts appearing on recommended questions…but…anyway…let kept it here…it might help others!

Wow it’s been two years since I posted that. I completely forgot what I ended up doing but looking back at it, it was most likely the spring arm on the camera.