- Home /
Question by
GabrielSalvesen · Mar 09, 2014 at 11:24 PM ·
collider 2dpolygon collider 2dcollid
I can't get my objects to collide
I'm trying to create a game like Geometry Dash, essentially a 2D parkour type scenario. I've given the scene physics and rigid body stuff, but the Player (the cube you control) won't collide with the platform underneath it. Instead it will just continue to fall (yes, both objects are on the same Z axis). Any help?
Character Cube Modifications: Rigid Body 2D Mesh Render
Platform Modifications: Box collider Mesh Render
Comment
Answer by robertbu · Mar 09, 2014 at 11:25 PM
2D and 3D don't interact, so your platform needs a BoxCollider2D rather than a BoxCollider.