2D jump button idk what im doing lol

so i haven't watched any videos but maybe ? i was close to making this work or is there a get function when it comes to pressing the spacebar i just wanna know if im on the right track but would love how i can change a objects position im having a hard time finding the object but i think this works idk
No description
1 Reply
wolf 301
wolf 3015mo ago
you should ask this in the unity discord though anyway you should attach a "playermovement" script to the player and a rigidbody component to it, finding the component and then adding a force to it you should watch a tutorial because it's not that easy to get into unity without knowing anything