Oh, rigidbody gravity. In that case, avoid translate(). In order to work with a rigidbody you should use forces to control the character. Another solution, usually frowned upon, is to alter the rigidbody.velocity property directly; I'm working in a 2d game and this approach isn't giving me any trouble so far.
↧