#jump issue
1 messages · Page 1 of 1 (latest)
so im gonna do the same test again, except i'll have it log the velocity of the players rigidbody
you should also provide useful information in your logs such, remember they don't need to just be a single value or single bit of text, you can log a bunch of useful information or even use breakpoints to temporarily stop execution to inspect the values in your IDE
oooh, that's useful. how could i do that, i am still new to c# (just started two days ago)
alright after an entire hour of debugging i've found the true problem.
the force is being applied every physics frame, probably multiplying the jump force to itself
can you link the current code again?
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
ah, i see what it is now. on line 60 you're adding the Y velocity as force
i've used AddForce for the jump functionality
OH
OMG THANK YOU SO MUCH
JFC WHY DIDNT I THINK THAT
omg
literally thank you in advanced that's really embarrassing
lol it happens
and thank u for actually teaching me how to debug as well