Error when working with Collaider and SpriteSortPoint
Hi, guys!
I recently started learning Unity; I’ve never done game development before, and now I’ve run into a problem. I’m creating an environment (the game world) and setting up the physics for how the character interacts with the world. I’m following a tutorial on YouTube. At first, I just added Colliders to all the objects and the character—everything seemed to be working—but then the tutorial said I needed to set the Pivotal Point for all objects to the bottom of the model, switch to the corresponding Sprite Sort Point mode, and then select Transparency Sort Axis along the Y-axis in the render settings. After that, the character started passing through some objects or, conversely, stopped getting right up close to them. Sometimes it passes through small gaps between objects, and other times it crashes into a little flower.
I’m sure many of you here have run into this issue; I’d appreciate it if you could suggest the best way to fix this or at least tell me what I should look out for.