rb.AddForce(movement * speed);
using UnityEngine;
void Start() { rb = GetComponent<Rigidbody>(); }
private Rigidbody rb;
void Start() { rb = GetComponent<Rigidbody>(); } only games github