Why must we do yvelocity for jump or drop down

Posted:
Tue Oct 26, 2010 3:13 am
by Wertyboy
Why? what happen when use y for jump or something?
Re: Why must we do yvelocity for jump or drop down

Posted:
Tue Oct 26, 2010 6:32 am
by lcl
It is also possible to do with y, but it's harder. Anyway, I like your question werty.

It's good to think other ways of doing things.

Re: Why must we do yvelocity for jump or drop down

Posted:
Tue Oct 26, 2010 9:37 am
by Chai
LCL gives me a strong point of your question.
Thank you for giving me another way of thinking.
Re: Why must we do yvelocity for jump or drop down

Posted:
Thu Oct 28, 2010 12:41 am
by DilloDude
Setting the yvelocity gives it a constant speed. If you just change the y, it will only move once. You can create your own variable to represent yvelocity, and add it to y every frame on a draw actor event, which does give you some advantages if you want to do more fancy things, but for normal situations, yvelocity is simpler.