How do I move my object through physics with my keyboard?

Hello peoples.

I want to move my object - to which I have applied a rigid body to - with physics. What I mean is, this object is a ball and I want to move this ball using physics, to make it roll. How do I do this? I want to do this using my keyboard.

  • Thanks, Xanco.

Create a script that adds forces and torque in the update loop when keys are pressed. There’s plenty of documentation on how to do every part of what I just described in the Unity website.