error CS1525: Unexpected symbol '='
help plz using UnityEngine; using System.Collections;
public class playerController : MonoBehaviour { private Rigidbody rb; void start () { rb = GetComponent(); }
void fixedUpdate ()
{
float moveHorizantal = Input.GetAxis("horizantal");
float moveVertical = Input.GetAxis("vertical");
new Vector3 = new Vector3 (moveHorizantal,0.0f,moveVertical);
rb.AddForce (new Vector3);
}
}
Comment
Your answer
Follow this Question
Related Questions
Roll a ball Movement. 0 Answers
Alright, I have a complete script but the objects only move down? 0 Answers
Why are my .unity files not showing up? 0 Answers
i can't find the gui textures tab 0 Answers