Page 1 of 1

Tail sitter Mola Mola

Posted: Tue Jan 05, 2016 9:37 pm
by bszlrd
So I mentioned this in another thread, so I'm dropping it here, in hope that I can get DraQ hooked and turn him into a Pioneer junkie, and also to show my willingness to support it from the asset side. :)
There were talks about tail sitters multiple times, and I can't remember anybody objecting them, so I guess it's a nice little feature to work on.
And as a bonus, I tend to make ships with this at least in the back of my head, so most of the ships won't really suffer much, if they are made able to support this feature. (A few months ago for some reason I doodled almost all ships in this way, for my curiosity, while I was sitting on the subway.). And there could be ships that won't be tailsitters ever, and vice-versa.

This mod has a Mola that has both belly and tail sitter configuration, and rudimentary animation/mesh for it.
Admittedly it's not pretty, far from it, but from my side it should have everything needed for it asset-wise.
  • I got an error message that two animations are trying to control the same object, so for now the fins around the engines won't be rotating away when the tail gear lowers, and they will stick into the ground. Which is a problem, since there are quite a few ships that have those fins, and they are a feature I really like in them, so I'd rather don't ditch them if it's possible. So I guess that needs to be addressed for this to work nicely.
  • The animation for lowering the tail gear is called "tail_sitter" and it's from #101 to #200. It can be checked already in the model viewer, if you select the animation for it from the drop-down menu.
  • The tag for it in the model is called "tag_tailsitter, and it's oriented similarly to tag_landing, but rotated 90 degrees on X: Y is up (nose), Z is top, X is right. So -Y points towards the landing pad.
  • You need to delete the sgm file of the Mola Mola for the mod to work. (I have to look up the command and start including sgm-s with my preview mods I guess.)
My suggestion for this that this should not be exclusive to belly landing, but the ship creator should have the freedom to choose if a ship should be a tail sitter, a belly sitter or both.
My reasoning is that in most cases it's easier and more convenient to load/unload a cargo hold in a belly sitting configuration, and the engine technology is clearly available to support it.
And on low-G worlds, it doesn't even matter that much anyway.
Also this configuration is more familiar to most people since it's the default for almost all movies and games these days. Not to mention real aircraft. (this alone won't be a good reasoning to me, since these are just conventions, even trope, but good to mention it anyway. And the presence of tail-sitters along belly sitters would also provide a nice contrast and a way to hammer the tail sitter back into the general consciousness.)
Also it's not unheard of even here on earth to have a deck that works in both conditions (can't recall the name of the ship that can flip itself, it's some kind of research vessel, it should be somewhere in the Inspiration or sketch thread). It might be balanced with giving much worse exhaust velocity to the belly engines, in exchange for the increased thrust, which would also facilitate decision making for the player, if it's clearly communicated.
And form another pov: I found that it adds a nice bit to the maneuvering for the ships: Having strong belly thrusters makes the ships more maneuverable pitching up (in regards to moving the prograde vector) which actually provides a more organic incentive for rolling during combat then nerfing the yaw as in Elite Dangerous.
EDIT: Another good point for tail sitters: Set Speed mode already can be used to hover down backwards slowly, which makes landing quite easier. (But on the other hand, some kind of similar hover autopilot mode for level flight would be a nice touch.)

Other stuff to note: As far as I know there's nobody around here these days who really knows the autopilot code, so this whole thing might be quite a bitch to figure out, but let's hope it's not.

Re: Tail sitter Mola Mola

Posted: Mon Jan 18, 2016 10:35 pm
by bobtheterrible
(can't recall the name of the ship that can flip itself, it's some kind of research vessel...)
Ironically it was called FLIP (FLoating Instrument Platform) :)

https://en.wikipedia.org/wiki/RP_FLIP

Re: Tail sitter Mola Mola

Posted: Wed Jan 20, 2016 8:51 pm
by DraQ
Ok, how is it supposed to work internally?

If I understand correctly, the landing tag should be used for orienting the ship for landing (which it is not as of now) - right?
Also, how the selection between different landing configurations is supposed to work?

Bear with me, my 3d graphics knowledge is meagre enough without also being rusted nearly beyond usability. ;(

Re: Tail sitter Mola Mola

Posted: Wed Jan 20, 2016 10:13 pm
by bszlrd
As far as I know, only the position of the tag_landing matters right now, but the others know that much better I'm sure. I've just tried it, modifying the orientation of the tag for the Sinonatrix, and it didn't made any difference, neither if I yawed or pitched it. I'm not sure if the orientation should matter at all, but I'm mostly guessing. Going for a tail landing can be done in only one orientation after all if we disregard if the belly of the ship should point towards the tower, or it's back/side.
But checking that I realized that I might gave the wrong directions for the tag in my first post. I mean it's consistent with the already existing landing tag. So tag_landing is oriented similarly as the ship in all models that have it: Y+ is forward, X+ is right, Z+ is up. So Z- is pointing towards the landing pad in both cases.

I can't say any more from the internal pov sadly, but I'm sure the knowledgeable folks will chime in.

Re: Tail sitter Mola Mola

Posted: Thu Jan 21, 2016 10:34 am
by FluffyFreak
The position of "tag_landing" is used, but not it's orientation at the moment.
Take a look at Ship.cpp Ln279.

The orientation isn't used just because I didn't really need it at the time, you might want to use it for tail-sitters though, or if you feel it's a good idea then add it for both :)

Re: Tail sitter Mola Mola

Posted: Tue Jan 09, 2018 7:03 pm
by max
so in conclusion:
-position but not orientation of "tag_landing" is processed, not allowing "tag_landing" to define a tail sitter
-"tag_tailsitter" is not supportet as used in tail sitter Mola Mola
-bodies can be rotatet/animated, but trhusters can't. Rotating the main body as landing gear animation leads to thrusters being separated during and/or misaligned after the animation.
-as far as I recognize, autopilot uses -y as main thruster, irrespective of whether other thrusters yield more. Thus designing an upright ship with +z as front leads to a ship flying belly-first with autopilot.

Do I understand correctly that tail sitters are not supported at the moment?

Re: Tail sitter Mola Mola

Posted: Tue Jan 09, 2018 7:13 pm
by bszlrd
Yes