Hi,
First of all …Happy New Year to Everyone. I Was working on the Roll A Ball sample game. I made the script and all same as the Tutorial. The problem I am facing my player is not moving. I think I am missing something regarding the input.
Here is the script I wrote.
using UnityEngine;
using System.Collections;
public class Player_Control : MonoBehaviour
{
void fixedupdate ()
{
float moveHoriontal = Input.GetAxis(“Horizontal”);
float moveVertical = Input.GetAxis(“Vertical”);
Vector3 movement = new Vector3(moveHoriontal,0.0f,moveVertical);
rigidbody.AddForce(movement);
}
}
