Search Unity

Roll-a-Ball Tutorial Step 2

Discussion in 'Community Learning & Teaching' started by DisneyFan05, Apr 24, 2017.

  1. DisneyFan05

    DisneyFan05

    Joined:
    Apr 24, 2017
    Posts:
    2
    Hey gamers! I am having trouble testing my game because there are some complier errors with my object. Please help me if you know what is going wrong with my game.
     

    Attached Files:

  2. gwnguy

    gwnguy

    Joined:
    Apr 25, 2017
    Posts:
    144
    In your last statement try
    rb.AddForce(movement);

    instead of
    rb.AddForce(Vector3);
     
  3. DisneyFan05

    DisneyFan05

    Joined:
    Apr 24, 2017
    Posts:
    2
    Thank you so much! My game is working now!