Jump in Unity

the jump i have set up isn't working could i get some help? it jumps but it teleports up insead of being like a actual jump
No description
1 Reply
milan
milan12mo ago
c#
rb.velocity = new Vector3(Hinput,0,Vinput);
c#
rb.velocity = new Vector3(Hinput,0,Vinput);
you are resetting the Y axis velocity every frame also your naming conventions are off

Did you find this page helpful?