Ship docking help

Blitz3D Forums/Blitz3D Programming/Ship docking help

asdfasdf(Posted 2005) [#1]
I'm trying to make a ship dock by clicking dock and then clicking the dock you want to dock to. How do I do this?



jfk EO-11110(Posted 2005) [#2]
I didn't investigate your source, but I would do it this way: Position a pivot at the ships docking gate/whatever and parent the ship to it. Position an other pivot at the docking station (counterpart) the position the ships pivot at the coords of the stations pivot (the one you wish). You can also move the ships pivot to the station pivot smoothly until it reaches the coordinate. In the same time you may rotate the ship until it fits the rotation of the station.