HI completely new to this so forgive my ignorance!
i’ve followed the guide step by step and rechecked and can’t find where I’ve gone wrong… The ball will not move at all and tells me I have a parsing error.
Please point me in the right direction… below is my script
using UnityEngine;
using System.Collections;
public class PlayerController : MonoBehaviour {
private Rigidbody rb;
void Start ()
{
rb = GetComponent<Rigidbody>();
}
void FixedUpdate ()
{
float moveHorizontal = Input.GetAxis ("Horizontal");
float moveVertical = Input.GetAxis ("Vertical");
Vector3 movement = new Vector3 (moveHorizontal, 0.0f , moveVertical);
rb.AddForce ( movement );
}