Only Games Github !free! 📥
rb.AddForce(movement * speed);
private Rigidbody rb;
Let me know if you want me to add or change anything! only games github
Epic Quest
Vector3 movement = new Vector3(moveX, 0.0f, moveZ); rb.AddForce(movement * speed)
void Start() { rb = GetComponent<Rigidbody>(); } private Rigidbody rb
using UnityEngine;