Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 3 post(s) |
Hottspitta jR
Knights of Azrael The Azrael Alliance
0
|
Posted - 2012.06.01 02:43:00 -
[1] - Quote
Uber mistake. My apologies. I want to know why this doesn't work because it is useful to gauge other players distances from objects such as gates. Gate strategy would be easier to achieve had this worked.
Concept for why it wouldn't work and example: So say me and a friend are reporting the same distance from each-other. 2774m. I want to find how far my friend is from some glacial mass. I am 7663m from the glacial mass.
To find his distance i would do the equation: 2774^2 + 7663^2 = c^2. Obviously solving for C which equals: 8149.640789629933 I ask for his distance and he reports: 6466m I also did this testing another distance and him being same location: 4555^2 + 1616^ ~ 4833m. So the deviation is not the same and is completely skewed.
I can think of few reasons this would not work: 1# The the contact point on the iceberg where our points hit are not together. (Has to do with how distance is gauged.) 2# The units used for measurement are not accurately sized. 3# A little bit of 1 and 2.
Anyhow if #2 is the reason at all. My guess is you should be able to optimize server performance with such a change.
Uber mistake. My apologies. |
|
CCP Atlas
C C P C C P Alliance
181
|
Posted - 2012.06.01 08:45:00 -
[2] - Quote
You and your friend need to be forming a right triangle with the asteroid for Pythagoras to apply. |
|
Hottspitta jR
Knights of Azrael The Azrael Alliance
0
|
Posted - 2012.06.01 11:00:00 -
[3] - Quote
CCP Atlas wrote:You and your friend need to be forming a right triangle with the asteroid for Pythagoras to apply.
Yeah i was just about to get to sleep then realized that and quickly logged back on. >.< Lots of math work, and it slipped through my head. I figured it didn't need to be a right triangle because the triangle with all the angles added up equal 180(brain figured it was obsolete, but then visualized the theorem). I need to stop thinking about stupid things like this when i have have math classes that need more attention. haha
Would you happen to know an equation that solves what i'm looking for?
I was thinking about this because i wanted to write a quick application that would calculate a players position from a specific entity. |
Vincent Athena
V.I.C.E. Comic Mischief
690
|
Posted - 2012.06.01 16:52:00 -
[4] - Quote
Think scan probes: you need 4 to nail down the position of a signal.
If you got several ships and all you know is the distance between each, but the absolute position of none, then you need 5 ships to be able to calculate the relative x, y, z position of each ship relative to the others. Once you got all that, you can use any 4 to get the position of a new target. http://vincentoneve.wordpress.com/ |
Hottspitta jR
Knights of Azrael The Azrael Alliance
0
|
Posted - 2012.06.01 21:41:00 -
[5] - Quote
I was thinking more along the lines of two sides of the triangle and a degree. Because you only need two lengths and one degree to know a specific size of the missing section. I just became lazy after i botched that up. (The degree between the distances you know.)
I just think this is something useful that should already be implemented in game. However a graphic scanner can be used to calculate the degree of the angle from your ship.... I just got bored and want something constructive to do. lol
This is for visually acquired targets. And i know its something that can help players in certain scenarios. |
Zalasastra
Royal Amarr Institute Amarr Empire
15
|
Posted - 2012.06.13 14:18:00 -
[6] - Quote
an issue is that ships are not idealized points and your distance measurements go to the surface of the ship, not its center point, so even if you have the most of the required information you still need to factor in the diameter of your ships as far as the ingame measurements are concerned with their diameters
...unless I'm totally wrong. |
|
CCP Spitfire
C C P C C P Alliance
1508
|
Posted - 2012.06.14 12:59:00 -
[7] - Quote
Hottspitta jR wrote:CCP Atlas wrote:You and your friend need to be forming a right triangle with the asteroid for Pythagoras to apply. Yeah i was just about to get to sleep then realized that and quickly logged back on. >.< Lots of math work, and it slipped through my head. I figured it didn't need to be a right triangle because the triangle with all the angles added up equal 180(brain figured it was obsolete, but then visualized the theorem). I need to stop thinking about stupid things like this when i have have math classes that need more attention. haha Would you happen to know an equation that solves what i'm looking for?
a^2 + b^2 -2*a*b*cos@ = c^2, where @ is the angle between a and b.
CCP Spitfire | Russian Community Coordinator @ccp_spitfire |
|
Makari Aeron
The Shadow's Of Eve TSOE Consortium
11
|
Posted - 2012.06.14 13:34:00 -
[8] - Quote
CCP Spitfire wrote:Hottspitta jR wrote:CCP Atlas wrote:You and your friend need to be forming a right triangle with the asteroid for Pythagoras to apply. Yeah i was just about to get to sleep then realized that and quickly logged back on. >.< Lots of math work, and it slipped through my head. I figured it didn't need to be a right triangle because the triangle with all the angles added up equal 180(brain figured it was obsolete, but then visualized the theorem). I need to stop thinking about stupid things like this when i have have math classes that need more attention. haha Would you happen to know an equation that solves what i'm looking for? a^2 + b^2 -2*a*b*cos@ = c^2, where @ is the angle between a and b.
You'd be surprised how much the 2*a*b*cos([theta]) will change your answer. Pew Pew Pew! |
Bloodpetal
Mimidae Risk Solutions
676
|
Posted - 2012.06.14 14:34:00 -
[9] - Quote
Distance is calculated from the edge of an object. (think about approaching a station you can be at 0km from both sides of it.)
That adds complication.
#2 you can't know the angle as another has said. (you can guess , but the point of this is accuracy, right?)
Best you can do is get another pOint of reference from an ally and "triangulate". Mimidae Risk Solutions Recruiting |
James Q Farpoint
Blue Republic RvB - BLUE Republic
1
|
Posted - 2012.06.14 15:04:00 -
[10] - Quote
You could convert the distance between your friend and the object on your screen to the actual distance. For that you don't need any angles, but you need to know how far both of them are from you (or more specifically from your camera) and you need to know the projection matrix of the camera (I wonder if CCP could provide that one, but most perspective projection matrices are fairly similar). Then you position you camera very close to your ship and point it at them so that both are visible. With the projection matrix you can recalculate the lines in space along which both should be located (using their position on your screen). Combined with the distance you get their positions in space. Then you can measure their distance.
Of course you can also just ask your friend how far away he is from that object |
|
|
CCP Spitfire
C C P C C P Alliance
1509
|
Posted - 2012.06.14 15:30:00 -
[11] - Quote
James Q Farpoint wrote:Of course you can also just ask your friend how far away he is from that object
And where's the fun in that?
CCP Spitfire | Russian Community Coordinator @ccp_spitfire |
|
Alberik
Eusebius Corporation
7
|
Posted - 2012.06.14 15:39:00 -
[12] - Quote
this will only work if distance is large in relation to the objects radius.
im sitting about 6m elevated from ground floor and presume there are many others with nearly the same elevation but a much longer distance than 12m from me, wich is the maximum the formula would give with an angle of 180-¦
it will work if you add the radius of the object to both a and b. dont forget to mention you own and you friends radius if they are not small in relation to the estimated distance |
James Morgan
Pod Republic
0
|
Posted - 2012.06.15 14:27:00 -
[13] - Quote
We can work out the distance in the following simple manner
Lets say you are at point A, your friend at point B and the Target(Glacial Mass) at point C
Now you know the length of AB and AC and want to find out the length of BC (your friends distance to glacial mass) Now you need to move towards the point C for some time(i.e. approach the glacial mass). After covering some distance you can stop your ship, lets call this location as D.
Consider the triangle ABD, you know AB, AD and DB, so there should not be a problem to get the angle DAB. Since you were moving in the direction to point C, D lies on the line AC and hence angle DAB = angle CAB
Now you have angle CAB, AC and AB it should be simple to get the length of BC |
Hottspitta jR
Knights of Azrael The Azrael Alliance
0
|
Posted - 2012.06.25 21:57:00 -
[14] - Quote
CCP Spitfire wrote:James Q Farpoint wrote:Of course you can also just ask your friend how far away he is from that object And where's the fun in that?
Exactly
And i doubt the enemy will tell you how far he is from something(Even thought you have all the data in front of you which should tell you and still can't.). But anyhow thanks for the responses. :-)
I originally started out thinking this would be my goal, however it is something truly bigger and this is just a beginning idea.
|
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |