|
||||||||||||||||||
Add Forum to Favorites | Send Topic To a Friend | View Forum FAQ | Track this topic |
Last Thread Next Thread ![]() |
| Gravity FAQ |
|
![]() Pipo DeClown Member since: 2/16/2002 From: Amsterdam, Netherlands |
||||
|
|
||||
| Great article! |
||||
|
||||
![]() Laylong Member since: 12/31/2005 From: Bethlehem, PA, United States |
||||
|
|
||||
| very helpful, just personal difficulties working it in with how my mapper and collision detection work, going by (32x32)blocks rather than pixels |
||||
|
||||
![]() Alpha_ProgDes Member since: 7/5/2002 From: Silver Spring, MD, United States |
||||
|
|
||||
| how do you rate up an article's author? ...suggestion time! |
||||
|
||||
![]() Anonymous Poster |
||||
|
||||
| kick ass now i can jump tttttttttttttttthhhhhhhhhhhhhhaaaaaaaaaaaaaaannnnnnnnnnnnnkkkkkkkkkkkkkkssssssss |
||||
|
||||
![]() Anonymous Poster |
||||
|
||||
| a quick note, I believe this section is not quite right: if (Joe.vel.y > -100) /* Limit Joe's velocity to -100 */ { Joe.vel.y = Joe.vel.y - Joe.accel Joe.pos.y = Joe.pos.y + Joe.vel.y } shouldnt you still be updating joe's position (just not the velocity in your example?) |
||||
|
||||
![]() ROBERTREAD1 Member since: 10/13/2005 From: Clapham |
||||
|
|
||||
| It might also be better to limit the velocity based on drag (which increases at the cube of speed) rather than a fixed number. |
||||
|
||||
![]() taby Member since: 2/10/2005 From: Regina, Canada |
||||
|
|
||||
| It looks really good to me so far. I will take another peek at it though. Some things that came to mind: 1) The term limiting velocity is also known as terminal velocity. I don't know if the uninitiated would automatically make that connection. 2) Gravity is the force, gravitation is the effect of it. The paper seems to focus more on the gravitation aspect of it. ie: It focuses more on the effects of gravity than the theory of gravity itself. 3) The post date is in 1999. I don't know if that's a bug with the ASP code used to store/retrieve the article data, or if it's actually the case. |
||||
|
||||
![]() taby Member since: 2/10/2005 From: Regina, Canada |
||||
|
|
||||
Quote: The force of drag is related to the square of the velocity. It is the energy required to counter-act drag that is the cube of the velocity. |
||||
|
||||
All times are ET (US)![]() |
Last Thread Next Thread ![]() |
|