Author Topic: distance between docking points  (Read 1317 times)

0 Members and 1 Guest are viewing this topic.

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
distance between docking points
does anyone know what the distance between the two points of a dock must be for a ship to properly dock with other ships,
ie what do you all use as you're distance, I think it might be a normal 1.0, but I see diferent values on ocation and I'd like to make a little thing for my editor to make dock makeing easier and I've never been 100% sure on the distance between points
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

  

Offline Spicious

  • Master Chief John-158
  • 210
distance between docking points
For fighters I use 0.1 and they don't have any problems. On capital ships I've used 1.0 and they work fine too. In answer to your question it probably doesn't make much difference.

 

Offline aldo_14

  • Gunnery Control
  • 213
distance between docking points
1 use 1 for the distance, though I set the dockpoint quite far from the dock to allow the animation...

generally speaking I use something like this;

DP Norm(0,1,0) Pos(0,0,0)
Path
1 rad:1  Pos(0,10,0)
2 rad:10 Pos(0,20,-5)
3 rad:100 Pos(0,50,-25)
4 rad:250 Pos(0,100,-50)

Or thereabouts.  I tend to increase the distance disproportionally to the radius, though (so the docking ship doesn't have to move a far distance away before entering the first point of the path).  It seems to work fine IMO.

 

Offline Grunt

  • 28
distance between docking points
0.8 - 1 works for me both on fighters and capships.
Just fly on !

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
distance between docking points
tecnically, .01 would work, but that's putting a little too much faith in the FS engine I think.  The only function of that second dock point is to establish orientation between the docker and dockee, by matching the vector created by one ship's dock point pair to the vector created by the other ship's dock point pair.  The normal and location information is only relevant for the first dock point.

And for the paths, the important thing is to have vertex 3 (on a 4 vertex dock path) far enough away from the doc point to allow any docking ship a full radius of rotation.  This has been a question asked by far too many people, but I just don't have time to write my own dock point tutorial.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
distance between docking points
well, I know it was for orientation, I just wasn't sure if it needed to be normalized or not,
I'm going to make a normalizeing function and let people use it if they want
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
distance between docking points
normalize it anyways, the 3d engines in general prefer normalized vectors when dealing with direction
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord