Hi everybody, I been dealing for more than a week with different kind of collisions in Unity for my game. But I got the same problem all the time.
This ghost or invisible collisions are making the game impossible to play.
In the first time, I use a mesh collider, but I found this problem, so I supposed that the mesh collision is not accurate enough to work that way (even with convex collision active). So I create boxes and use those as colliders (as you can see in the image attached).
The sphere move up and down as the player, the boxes act like environment and move scrolling sideways right to left. The problem is, all the time my player crash with some invisible object.
I put a guitext to show me what is the collision object and give me feedback (“cube”), but there is no cube in this point.
Some info:
Sphere is trigger and I use OnTriggerEnter, I check the colliders by tag.
The Colliders are linked to an object that move sideways, there is no script attached to any collider, only the right tag.
Any help will be welcome.
I double check to make sure that there is no unrenderer object, mesh colliders or other hidden collision object.