The "Car" in question is a plane. The question is pretty self explanatory.
Here's the Car in the Hierarchy:
Here's the car in the inspector:
And here's the PlayerMovement script:
using UnityEngine; public class PlayerMovement : MonoBehaviour { // -------------------------------- // References // -------------------------------- public Rigidbody rb; // -------------------------------- public float force = 500f; void FixedUpdate() { if (Input.GetKey("w") || Input.GetKey("up")) { Debug.Log("Foreward"); rb.AddForce(0, 0, force * Time.deltaTime); } if (Input.GetKey("a") || Input.GetKey("left")) { rb.AddForce(-force * Time.deltaTime, 0, 0); } if (Input.GetKey("s") || Input.GetKey("down")) { rb.AddForce(0, 0, -force * Time.deltaTime); } if (Input.GetKey("d") || Input.GetKey("right")) { rb.AddForce(force * Time.deltaTime, 0, 0); } } } It does show the "Foreward" log when I press W or up arrow, so I know that's working.
(Side note: I know this won't get me actual car physics, I'm just trying to make sure I can move the car at all first)


