Timeline for Making AI jump on a spot effectively
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 6, 2012 at 0:16 | vote | accept | Pasquale Sada | ||
Oct 6, 2012 at 0:16 | comment | added | Pasquale Sada | The game is awesome thank you! no need to apologize! :D | |
Oct 2, 2012 at 16:03 | comment | added | Markus von Broady | @PasqualeSada I'm sorry, I've actually made two mistakes: forgot to replace one-letter math-like variables with actual names, and added (GRAVITYtime_to_toptime_to_top/2) instead of substracting. As an apology I made a mini game just for you! jsfiddle.net/tZTXS/4 | |
Oct 2, 2012 at 16:01 | history | edited | Markus von Broady | CC BY-SA 3.0 |
added a warning
|
Oct 1, 2012 at 15:34 | comment | added | Pasquale Sada | Yep I now, I'm not looking for ready code. I will be unfair :D The jumplenght is always 0 :| | |
Oct 1, 2012 at 14:55 | comment | added | Markus von Broady | Can't make ready code for you buddy, I don't know this environment. What in the code doesn't work, my equations? I can check it out in 2D, if it works there, it must work in 3D as well. | |
Oct 1, 2012 at 11:17 | comment | added | Pasquale Sada | After few tries I ended up using raycast(very expensive but more reliable). The problem is that now must check some point on the trajectory for hits. It's better not try all points, 10 point well spaced are enough. Code still not working. . . | |
Oct 1, 2012 at 6:49 | comment | added | Markus von Broady | before trying to find best place to jump onto a platform (that is a 2D rectangle) try this code with a point (where circle would work). If the solution works, I will add how to apply it to the rectangle. | |
Oct 1, 2012 at 1:06 | comment | added | Pasquale Sada | I was messing with the circle idea and there where some problems. Will try out this and let you know! thanks :D | |
Sep 30, 2012 at 21:25 | comment | added | Markus von Broady |
Added the code, and removed the circle idea, as what you really want is to move to a platform closer then jump_length distance from it.
|
|
Sep 30, 2012 at 21:22 | history | edited | Markus von Broady | CC BY-SA 3.0 |
added code
|
Sep 30, 2012 at 21:03 | comment | added | Pasquale Sada | Sir this is the most complete explanation I've got so far, I want to deeply thank you. Will try to implement this and report on this page if it works. Thanks again P.s. Yes the physic is implemented well and we use the earth gravity. . . | |
Sep 30, 2012 at 21:00 | history | answered | Markus von Broady | CC BY-SA 3.0 |