okay so im following the tutorial that the website provided for the roll-a-ball and we get in to the part about movement.
i follow his words and code directly and i keep getting error code unexpected symbol "rigidbody’ and he’s not getting it
here is the 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(movement);
}
}