Next Unity Functions implemented in order (up to down) to move the squares with the arrow keys:

  1. Using RigidBody:
    1. Use the velocity property of RigidBody
    2. Add Force to RigidBody
    3. Move Position of RigidBody
  2. Using Transform:
    d. Use Translate of Transform
    e. Position of Transform
    f. Use MoveTowards

Download

Download
MovingObjectsSourceCode.zip 678 MB

Install instructions

Create a folder like any other Unity project and uncompress the Source code in order to see the media I used to simulate movement in 6 different ways.

or

Just play the game XD

Leave a comment

Log in with itch.io to leave a comment.