i am sorry for asking dumb questions but I am absolutely green in unity and I really need help. I am creating a game by using this tutorial - http://unity3d.com/learn/tutorials/projects/roll-a-ball/moving-the-player , but when I wrote this code:
using UnityEngine;
using System.Collections;
public class PlayerController : MonoBehaviour
{
void FixedUpdate ()
{
float moveHorizontal = Input.GetAxis("Horizontal");
float moveVertical = Input.GetAxis("Vertical");
Vector3 movement = new Vector3(moveHorizontal, 0.0f, moveVertical);
rigidbody.AddForce (Vector3);
}
}
It said there is an error and I have no idea how to fix it. Can anyone help?