Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Code not working?

$
0
0
The guy in the video made it look easy and I'm pretty sure I did it all right but when I press W A S D or any of the arrow keys nothing happens (I did hit play). Anyone know why?


using UnityEngine;
using System.Collections;

public class NewBehaviourScript : MonoBehaviour
{
void FixedUpdate ()
{
float moveHorizontal = Input.GetAxis ("Horizontal");
float moveVertical = Input.GetAxis ("Vertical");

Vector3 movement = new Vector3(moveHorizontal, 0.0F,...

Code not working?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>