Can I calculate like this?
http://img220.imageshack.us/my.php?image=lolkq5.png
Is it true?
nope you can t ... i ll calculate it when i m back at home
lol?
thats simple pythag
its a 300 block
Is that from like upper view or side view? If it's from side view, then it's pretty tricky (impossible) to calculate :P
but height difference between start and finish is 70 so its lower block i think
youre drawing doesnt show enough what's the vector ur trying to achieve and also start and end positions
i think u can calculate this if u know the trajectory of the player model(the accelerate when u jump, and the negativ accelerate when u beginn to fall). then u should be able to calculate which block u should jump(no duck) at the beginning after that u can simply let u fall.
edit: nvm sry didnt see taht its a view from the side :/
a^2-b^2=c^2 O_O
a^2+b^2=c^2
orly? u can calculate which block he should jump with pythagoras? how?
nono, you cant take distance - heightdifference, i dont really got any good explanation but its just kinda obvious for me. you dont got the same velocity as up- and downspeed blabla, i'll let eDark explain it =PP
Originally posted by SchlumPFa^2+b^2=c^2
this is the right distance, but the other fact is that u have more time for strafing which means u could jump bigger distance (cuz of the height bonus)
the distance for lj blocks is calculated by sqroot(x^2 + y^2) but it does not include heightdifference. since mayrus wants to calculate the block length i think edark will show us how to convert jumps with heightdifference into jumps without to compate them with each other ^^
calculating such jumps is not so easy but first the result:
it s comparable to 243 - 244.4.
now how to calculate this ...
first you need to know how long your jump will be:
t=(268.25+Sqrt[268.25^2+2*800*(dh+18)])/800
dh=70 so we get t=0.9118838s
next we can calculate the distance:
s=prestrafe*t + 0.5*acceleration*t^2
now we have to put in some reasonable values for prestrafe and acceleration:
300-32 = 268 = 275*0.9118838 + 0.5*acc*0.9118838^2
=> acc=41.4463
now change the time to standard lj time:
275*0.73209 + 0.5*41.4463*0.73209^2=212.431
=> s=212.431+32=244,431
now again for slower prestrafe:
300-32 = 268 = 265*0.9118838 + 0.5*acc*0.9118838^2
=> acc=63.3789
265*0.73209 + 0.5*63.3789*0.73209^2=210.988
=> s=210.988+32=242,988
maybe i ll make a prog for mappers with this calculation, with anglejump and rotated blocks calculations in it...
geek O.0 :D
@eDark I bet a lot of people that aren't creating maps will find it useful as well (including me). :)
@Mayrus ... man just use the SclumPF's plugin for calculating distance... you can find it by searching a little
dont flame mayrus, even if he didnt wanted this answer or w/e i can use this calculation to add it to my emasure plugin :)
Nice eDark :P
I didn't even think to calculate it that way :D But well, it's somewhat inaccurate.. :/
Please log in to post replies.