So I made a 3D platform after 3 days of bashing my head against Blender.
I imported it, added a mesh collider and a Rigidbody, but my 2D characters simply fall through it every time, no matter what option I try checking or un-checking on the mesh collider (Kinematic, Convex, anything) they just wont land on the platform.
characters are using 2D Box Colliders, the platform is Mesh Collider on a 3D model.
I have tried all other types of collider with the same result…
I would guess that 2D and 3D colliders live in different worlds. Have you tried adding a 3D collider to your character?
You can also just create a 2D box collider close to the ground to represent the surface of your 3d model. Since it’s 2D anyways, your character should not be able to move into and out of the scene.
My character uses a script to edit it’s colliders, using 2 different 2D box colliders as a stand and duck so he can squeeze into tight spaces, I’ll try and set this up using 3D ones but I was hoping to keep the current system.
Yeah adding a 2D box works, but not mesh, thats unfortunate!
Thing is, my character is 2D but the environment will be 3D in places, how do box colliders work if say a platform isnt completely “flat”? Although im sure I can try and counter it by using perspective so the character isnt stood directly on the floor but looks like they are from the players perspective.