A get or accessory expected

Hi im prety new to unity and scripting so this might be an obvious mistake.
the mistake i keep getting says: "A get or accessory expected

heres 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);

the mistake is in the float movehorizontal line i think

thanks

it’s important that you post the complete error message!! at least you formatted your code properly…

“the mistake is in the float movehorizontal line i think” - why?

the error is in this line:

Vector3 movement = new Vector3(moveHorizontal, 0,0f, moveVertical);

it should probably read:

Vector3 movement = new Vector3(moveHorizontal, 0.0f, moveVertical);

Errors all over the show. Try this

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, moveVertical);
        rigidbody.AddForce(movement);
    }
}