As the the title says, I’m moving a player on a 2D sidescroller. I can jump and move left and right as well as jump. The player has a rigidbody and character controller attached to it. I then have one cube to test collision. The player goes through the cube, but can sit on top of it if you jump on it. the cube has a box collider and a rigidbody. Can any one solve my problem? If you don’t get what I mean, here’s a video to it: - YouTube. If you need more information on my problem, just ask.
transform.Translate ignores collisions. Use CharacterControler.Move() or CharacterControler.SimpleMove() instead.