Go Back   Orbiter-Forum > Blogs > PeriapsisPrograde
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Rate this Entry

Universal Grappling Hook

Posted 11-13-2011 at 10:03 PM by PeriapsisPrograde

I might as well try.

Psuedo-code below. UGH would be a vessel dockable to another vessel.
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 working 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?

Posted in Uncategorized
Views 4624 Comments 2
« Prev     Main     Next »
Total Comments 2


  1. Old Comment
    Scruce's Avatar
    Refer to the API .pdfs in Orbiter/orbitersdk/doc folder. They should help with some custom DLL making in Orbiter.

    Good luck, I can't wait to make pirate themed dockings easier!
    Posted 11-13-2011 at 10:28 PM by Scruce Scruce is offline
  2. Old Comment
    OMG! i can't wait for this! Ima be grappling myself on UMMU's that will be flung out of the solar system using the UCGO Demolition Charge...
    Posted 11-13-2011 at 10:46 PM by

All times are GMT. The time now is 02:06 PM.

Quick Links Need Help?

About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.