Hello, I’ve tried transform.translate, but it’s collision is kinda wacky. So I’m gonna have to add force, but when I add force my character just glides for a few seconds before stopping. I want collision, but when I take my finger off the key I want my character to stop straight away.
You probably just want to set the Rigidbody’s “velocity” member to zero. So, something like:
myRigidBody.velocity = Vector3.zero;
Additionally, you might want to zero out the angular velocity too…
myRigidBody.angularVelocity = Vector3.zero;