- Joined
- May 9, 2012
- Messages
- 107
- Reaction score
- 7
I think the docking function must be revised as when i tried it today, the 2 ships wouldn't dock properly, constantly changing the view of the ship i was in ( as if i was stuck inside an object that wanted me out ). The ships weren't touching each other.
I think what would be best, would be to prevent any block collision of one ship with another. And also set the docking block as a module ( like weapons ) so that you can allow translations or rotations.
For example, i build a line of docking block, then the core/docking module would be set on it as if we had just put a simple block. The line form would allow translation.
For rotation, we would dock at the docking module entity looking like a pyramid that would allow rotations over 3 directions ( up/down, right/left, and turn around itself )
There are two ways of looking at the docking, either the blocks are within each other ( the block must keep a part inside the other ) or the blocks can't be within another, which is maybe easier for the game but that makes rotations more difficult.
This docking system i came up with might no be the best one, but i think that you'll agree with me that current one isn't working great. The fonctions of docking being : Landing a ship, adding a tower to a space station, having ships assemble into a bigger one or anything you can imagine involving a link between two entities.
Thanks for reading,
Elladan
I think what would be best, would be to prevent any block collision of one ship with another. And also set the docking block as a module ( like weapons ) so that you can allow translations or rotations.
For example, i build a line of docking block, then the core/docking module would be set on it as if we had just put a simple block. The line form would allow translation.
For rotation, we would dock at the docking module entity looking like a pyramid that would allow rotations over 3 directions ( up/down, right/left, and turn around itself )
There are two ways of looking at the docking, either the blocks are within each other ( the block must keep a part inside the other ) or the blocks can't be within another, which is maybe easier for the game but that makes rotations more difficult.
This docking system i came up with might no be the best one, but i think that you'll agree with me that current one isn't working great. The fonctions of docking being : Landing a ship, adding a tower to a space station, having ships assemble into a bigger one or anything you can imagine involving a link between two entities.
Thanks for reading,
Elladan