These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Formula for warp-in coordinates for the sun

First post
Author
Sanosuki Kettuski
Perkone
Caldari State
#1 - 2017-02-05 07:22:22 UTC
I've found a forumla for warp-in coordinates for planets, moons etc: https://forums.eveonline.com/default.aspx?g=posts&m=6103018#post6103018

but it doesn't work for the sun, as it's coordinates are [0, 0, 0]. I'm wondering is there a different formula for the sun or some special [x, y, z] that are used to calculate warp-in coordinates for the sun?
Blacksmoke16
Resilience.
#2 - 2017-02-05 15:56:02 UTC
Sanosuki Kettuski
Perkone
Caldari State
#3 - 2017-02-05 20:24:58 UTC  |  Edited by: Sanosuki Kettuski
* edit
Oh, I see my mistake now, so sun is treated as just a large object. that big formula is only for planets.
So warp-in point for moons is also calculated by the formula for large objects, right?
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#4 - 2017-02-05 20:50:40 UTC  |  Edited by: Steve Ronuken
It's the large objects warp in you want, rather than the planet warp in.

I just checked in a system I have a character in, warping and creating a bookmark.

The api gives me:
x="39694247.0085288" y="269094431.566927" z="-208250469.123889"

running the math in excel (other than the cos and the sin as excel objected)

Star radius is: 207000000

so:
X = (207000000+ 5000000) * 0.18724346657 = 39695614.91
Y = (1.3* 207000000) - 7500 = 269092500
Z = 0 - (207000000+ 5000000) * 0.98231353661 = -208250469.8

39,695,614 vs 39,694,247
269,092,500 vs 269,094,431
-208,250,469 vs -208,250,469


bear in mind that these are in meters, and you arrive within a 2.5km radius sphere when you warp in on a point. So the math works.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter