Why does the player pass through the 3D tiles on tile map?

142 views Asked by At

I have a tile map with 3D tiles which is facing according to the tile rule. On each tile individually there is a box collider and they are marked as static objects for the occlusion culling. My player has Rigidbody component and Box collider component as well, when with the player I'm turning and walking and trying to get through the tiles I'm succeeding, why?

Version of unity: 2021.3.20f1

Link to the video to see how the issue looks

I don't know what to try, I expect to fix this issue because it is unacceptable.

1

There are 1 answers

1
Lee G On

Some possible reasons why it happened:

  • Did you check if the player and tile layers are enabled in the Layer collision matrix? (Edit->Project Setting->Physics->Layer Collision Matrix)

  • If it's marked try to check if the colliders "communicate" with each other by printing something on the screen.

  • Check if both colliders don't have the "is Trigger" checkbox checked (both need to be unchecked).

Let me know if the problem is not solved and I will do my best to help.

Good luck.