Hi i’m making 2d platform game.My player has a rigid body.I wrote a simple script that player can move to the left and right and jump, i used transform.translate to move and to jump; and i used OnCollisionStay,OnCollisionExit for collision states.But player doesn’t move or jump properly, player is jittering on edges or on corner of platforms.To prevent jittering and checking collision better, i add raycasts to the player object but i couldn’t obtain satisfied result yet.I’m thinking using CharacterController instead of transform.translate at now.But on the other hand there is possibility that my script has bugs.
1. What do you think about moving by transform.translate ? Can it cause collision errors?
2. Does CharacterController give a lot better result than transform.translate?(when i say better result, i mean better collision check when moving,better control of physics, flexibility when coding…)