Author Topic: Docking point orientation  (Read 5707 times)

0 Members and 1 Guest are viewing this topic.

Docking point orientation
Are all the dockees, forced to have the same orientation as the dock?

I'm attempting to have fighters docked to a friegter but I'm having difficulty having the fighters face dwnward. They keep matching the freighter's heading. Their roll orientation is correct, its just their heading.

I'm attempting to change the dock point's orientation in 3dsmax now and I'm crossing fingers. Can anyone help?

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Docking point orientation
You'll notice that all dockpoints in FS have two points associated with them; one is the dockpoint itself, while the other is an orientation point.  When two ships dock, their dockpoints converge to the same location and the docker orients itself so that the line from the first dockpoint to the second matches a similar line on the dockee.
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

 
Docking point orientation
Yes, thats right... but that doesn't seem to affect the heading though. Like I said, the roll orientation is correct, but the heading can't seem to be changed. The only solution I can think of is to have the freighter's default orientation to be set at a 90 degree angle. That would make the freighter loo silly, if I wanted it to move.  I'll keep experimenting.

How does the dock points and orientation work?
« Last Edit: March 01, 2005, 10:48:33 am by 1582 »

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Docking point orientation
The orientation is calculated from the dock point.  The object faces along the line drawn from point 2 to point 1 on the tip of the dockpoint.

This is unchanged from retail behavior, so I'm splitting the thread.

 
Docking point orientation
Talk and written language suck. Visual communication... ahhhh.\

I am after Perpendicular  docking.




BUT I KEEP GETTING THIS:




Even when I change the orientation of the Freighter to its side, the docked ships keep facing the freighter's heading.
Like i said before, the "roll" orientation is correct. Its the heading that I can't get right.

From all my failed attempts I'm starting to wonder if the freighter's pivot point has something to do with the heading with docking points.

Can some attempt to do what I'm trying to do successfully? I want to know what I'm doing wrong here.
« Last Edit: March 01, 2005, 12:16:41 pm by 1582 »

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Docking point orientation
You have your dockpoints like this on the big arrow

Code: [Select]

------------------------------------

        x x              o o              

------------------------------------

     Ship 1          Ship 2

When they should be like this

------------------------------------

        x               o              
        x               o
------------------------------------


Move the second normal for each dockpoint so that it is below (or above depending on how you set the dockpoints on the fighters) the other one and everything should work).

With dockpoints the first normal tells you where to dock. The second tells you where to face.
« Last Edit: March 01, 2005, 12:33:21 pm by 340 »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Docking point orientation
Now r u talking docking points? I've already tried a "-1" on the Y axis of the docking point normal. The normal points straight down. All that does is kill my "roll" orientation. The fighter still faces the same direction as the freighter.


PCS's docking tab has no option for a 2nd normal. Am I missing something here?

Are you talking paths now?

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Docking point orientation
Each Dock consists of two points 1m apart each with it's own normal. It sounds like you've only got one point (although I'm surprised that it works like that).
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Docking point orientation
Cool!!! Thanks a LOT!!!

I guess, Styxx's sample model for his 3dsmax pluggin, failed to mention the need for a SECOND docking point.

BLARG...   6 hours of wasted time. I need food now.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Docking point orientation
you see your stacking them, they should be on the same plane of dock, one in fromt of the other. if the docs on the top of the ship and you have a dock point at 0'5'5, the other point should be at 0'5'4 or 0'5'6, not 0'6'5. dockpoints control oreintation, paths control aproach vector.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 
Docking point orientation
Ok, I've downloaded a 1/27 build. Got all the rientation corrected now. I just got one problem... the freighter which the fighters are docked to twitches like a modman. Its moving all over the place. MOI is set correctly as well as mass. I fredded it to "play dead" yet the moment the mission loads up it starts twitching. Its as if id didn't like the fighters docked to it. Its class is designated as "capital"

Anyone run into this problem?

 

Offline Solatar

  • 211
Docking point orientation
I've had that happen with a couple Fenris class cruisers docked to two Hermes escape pods. Happened like...once or twice and never did it again.

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Docking point orientation
My guess is it's the fighters, not the freighter, that are causing the problem.  Instruct them to "play dead" and make absolutely sure none of them have or can accept any orders.
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 karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Docking point orientation
Just a hunch but try docking fighters that aren't in a wing and see what happens.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Docking point orientation
Wouldn't that make it difficult to Fred a mission? It would be nice to start the mission off with the fighters docked, and then do their thing. I'll try it.

What is the most stable build that includes the multiple docking?

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Docking point orientation
I've done it with fighters in a wing and had no problems.  But then the first thing I did was tell the fighters to play dead, so that would be the first thing I'd try.
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 karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Docking point orientation
Yeah that could cause trouble too. Probably a better idea you're right. It was just that the description reminded me of a FA mission where freighters in a wing were causing something similar.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Docking point orientation
Ugh.  Docking every ship in a wing to the same ship might cause problems.  Seems to me I tried a simple solution but never went back to check if it would work.

Like karajorma said, try docking ships that aren't in a wing and see what happens.

Now that I think of it, however, multiple ship docking isn't working 100% for initially docked ships yet.  I still have to finish that up.  It's more or less on hold until we get FRED fixed.

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Docking point orientation
Goober, I have tested docking ships in wings.  That screenshot you chose as runner-up had three wings in it; one Ursa in a wing by itself docked to the bottom of the transport, two Hercules fighters in a wing, and three Lokis in a third wing.  I had them all ordered to play dead, and the transport ordered to dock with them.  Worked fine.  Now I never actually tried it in a mission with hostiles, or giving them orders, but they didn't complain at all to be there.
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 Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Docking point orientation
Okay, maybe my fix did work then.  Just nobody try initially-docking more than one ship until I get that fixed. ;)