Author |
Message |
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Sun Aug 03, 2008 5:53 pm Post subject: Wormhole Gravity Formula |
|
|
|
|
For those that care, wormholes exert the following delta velocity on players:
A = 1000*gravity/dist^2
A_x = A*delta_x/dist
A_y = A*delta_y/dist
dist, delta_x and delta_y are all in pixels. (dist^2 = delta_x^2+delta_y^2)
Acceleration has units of velocity per tick, or (pixels/10sec)/tick.
According to my testing the R=1.325*(g^.507) isn't accurate. The radius for the top speed effect is just where A < 1. So R=1.976*(g^.5). _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: Tue Aug 05, 2008 1:31 am Post subject: |
|
|
|
|
Looks good. If you'd like, throw it into the Physics section of the wiki. |
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Tue Aug 05, 2008 8:17 am Post subject: |
|
|
|
|
Done. |
|
Back to top |
|
|
tcsoccerman Server Help Squatter
Age:32 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Tue Aug 05, 2008 3:22 pm Post subject: |
|
|
|
|
good work. |
|
Back to top |
|
|
Samapico No, these DO NOT look like penises, ok?
Joined: May 08 2003 Posts: 1252 Offline
|
Posted: Wed Aug 06, 2008 6:48 pm Post subject: |
|
|
|
|
So... it would be possible to have wormholes apply very little gravity, but still give a huge speed bonus?
Interesting _________________ (Insert a bunch of dead links here) |
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Wed Aug 06, 2008 9:46 pm Post subject: |
|
|
|
|
That's how we've been doing the hypertunnels in HS for years and years. |
|
Back to top |
|
|
Samapico No, these DO NOT look like penises, ok?
Joined: May 08 2003 Posts: 1252 Offline
|
Posted: Wed Aug 06, 2008 11:58 pm Post subject: |
|
|
|
|
I thought the gravity was more significant in the formula, and that it was just not very apparent because you had wormholes on each side |
|
Back to top |
|
|
|