Collision bug in paper2d?
Hello everyone. For the past weeks i am battling with collision issues inside my paper2d project. For reasons that i cannot explain, collision triggers (on begin overlap) for the first couple of times fire as intended and after that all hell breaks loose! It registers collisions hundreds of units away and yesterday i even saw a collision trigger fire from an object that wasnt even present on my level! Any help pinpointing this and solving it would be great since this issue hinders the progress of my game . I simply cannot create any interactions between characters since collisions seem random. Thank you. https://www.dropbox.com/s/q2txgtjnzr0xwuw/Unreal%20collision%20Problem.mp4
I'm going to try to build this bug up from the bottom. I created a new SideScroller 2D project and set up a very basic representation of what you had set up in your project. I've included an enemy with 2 Box components in addition to its Capsule Component, as well as a couple of Patrol Blocks with their own Collision Channel and Preset (PatrolBlock). With this basic setup, I have not been able to reproduce the problem (though I still see it occurring in the project you sent me awhile back).
To help me narrow it down, can you pull down this project and take a quick look, see if I'm missing anything you need, and let me know? I'd like to get the root cause of the issue nailed down, and it appears that having an additional Box component is not, in itself, causing the problem.
Here's a Dropbox link to the test project:
answered Sep 23 '14 at 11:00 PM
I am not 100% sure but i think i cracked it! When my hero collides with the capsuleComponent of a BP that has CharacterMovement component everything seem to work fine.The problem is when he collides with a box collider that has been added to the above blueprint! I just added a box collider in my archer and i have the same exact problems.If i collide with him using only his capsuleComponent then everything seems normal.
Follow this question
Once you sign in you will be able to subscribe for any updates here