2D character falls through floor
I am using this script https://github.com/prime31/CharacterController2D/blob/master/Assets/CharacterController2D/CharacterController2D.cs My player has a 2d box collider and 'Is Trigger' is unchecked. I have a tilemap that has a 2d Tilemap Collider. I also have a rigidbody 2d. I used to use this script for the controller: https://github.com/Brackeys/2D-Character-Controller/blob/master/CharacterController2D.cs And this for my joystick: https://github.com/hayzplayz/for-my-unity-question
My second question: Before i switched my controller script my player would constantly build up backwards momentum and they would go backwards. Occasionally just stop moving. Please help!
Answer by hayzplayz · Jun 15, 2021 at 11:45 PM
Hey! I solved my issue. I got the original codes and I made the mass on my rigidbody as low as possible. And I set everything else to default!