I’m wondering if anyone has any advice on creating a set of tight platforming controls? I’m currently using the addForce method for movement along the horizontal axis and have disabled gravity to add my own custom gravity and then remove it with OnCollisionStay.
My problem is however that using addForce you get real lag when changing direction as you slow the object down and then turn it back around. Would transform.Translate be better? Any other suggestions? Thanks
Try replacing Rigidbody component with CharacterController component and then use CharacterController.Move instead of Rigidbody.AddForce and ChararcterController.isGrounded instead of Rigidbody.OnCollisionStay. Should get you good results after fiddling with numbers.