I mean if the tilted object is approaching a straight one, it will still pass through it.
I see two ways to get rid of this.
- use the player sprite as a straight one and you can do this by flipping it or placing the sprite on one of the cube faces. But you say that this will distort the graphics and the pixels will float.
- Do as in all 3D games, so that the player does not pass through the textures, place your object sprite with a billboard in the middle of the capsule and in our case a collision square, which will have such a size to compensate for the camera tilt.