Hi, I am currently making a 2D platformer game using Paper 2D. I am
having problems with the CapsuleComponent, it's not giving me correct
collision, my sprite doesn't want to touch the ground. In the following
image you can see the CapsuleComponent and the Sprite(Red Square). The weird
thing is that the collision works fine on the X axis (Left to right),
but the cube sprite just doesn't want to touch the ground:
I have two questions regarding this topic.
1. Can I add a box collision since the character is going to be the red box?
2. If I can't add a box collision, why the heck is the CapsuleComponent acting up?
Thank you!
Replies
Here is another image of the problem:
To answer your question: The sprite immediately starts about two units above the ground.
Also, at a closer inspection at the Unreal Engine 4 2D Platformer Template, the character is floating about 2 units above the air. The camera is further away which hides that. With my 2 days heavily experimenting with Paper 2D, my conclusion is that if you are making a pixel game, something down to 8 or 16 pixels per tile, you should make your own engine or use something else than unreal. It works but the support and functions to easily work with Paper2D is a bit outdated. I don't hate it... It's just not perfect.