PeriapsisPrograde
Wannabe addon dev
I might as well try.
Psuedo-code below. UGH would be a vessel dockable to another vessel.
The thing is, I sure can't do this on my own.
-- I have never written aworking vessel for Orbiter using any custom functions.
-- I have no idea where to start. I certainly don't know the API well enough.
Can I get a few pointers? Should I really try this?
Thanks. :tiphat:
Psuedo-code below. UGH would be a vessel dockable to another vessel.
Code:
clbkGrapplingHook (hvessel)
{
if (grappling hook is shot) {find object hit}
else {reload grappler; continue}
vessel velocity relative to grappled object = _V(0,0,0);
get grappling hook vector (hvessel) = vgrapple;
move vessel along vgrapple (speed);
if (object.pos==vessel.pos) break;
else continue;
}
The thing is, I sure can't do this on my own.
-- I have never written a
-- I have no idea where to start. I certainly don't know the API well enough.
Can I get a few pointers? Should I really try this?
Thanks. :tiphat: