Hey, I'm just starting out with unity and I'm trying to make a jump code. Please tell me whats wrong besides literally everything. using UnityEngine; public class jump : MonoBehaviour { private void FixedUpdate(Collision collisionInfo) { if (Input.GetKeyDown(KeyCode.Space)) { if (collisionInfo.collider.tag == "ground") { Debug.Log("JUMP"); } } } }
Please do not spam the forums. This is 3 posts you've made that are identical. Please refer to the other responses, in the other 2 threads for some guidance..