Go Back   Orbiter-Forum > Projects > ORBITER: 2010-P1 and newer > Feature
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Rotate/Set Vessel reference heading Issue Tools
issueid=944 04-17-2012 07:03 PM
Aspiring rocket scientist
Rotate/Set Vessel reference heading
Similar to shift COG this function would shift the vessel's primary axis.

As the title and summary states this function would apply a transformation to the vessel's primary reference (Z+) axis.

The most common application of this function would be to change the reference heading of the default Autopilots. This would be useful in a variety of situations most notably for space tugs pushing asymetrical loads, and for Tail-sitters/Lunar Lander-type craft wherein the main engine's axis of thrust may not be along the Z+ axis.

Inspired by the ShiftCOG function I started writing a custom function for my Lunar Lander that would rotate the vessel in the global frame while applying a matching counter-transformation, to thrusters, docking ports and the like but the proscess is rapidly getting out of hand.

There should be an easier way to do this.

I imagine the function would look something like...

void SetVesselRefAxis(const VECTOR3& raxis);
Issue Details
Issue Type Feature
Project ORBITER: 2010-P1 and newer
Status Request
Priority 5 - Medium
Suggested Version 111105
Implemented Version (none)
Votes for this feature 0
Votes against this feature 0
Assigned Users (none)
Tags (none)

04-18-2012 03:25 PM
Addon Developer
I honestly think that before adding new stuff, VESSEL class have to be split into multiple classes each having single responsibility because right now it's a textbook example of "God Object" anti-pattern... Not to mention oapi::GraphicsClient class...

Issue Tools
Subscribe to this issue

All times are GMT. The time now is 11:13 AM.

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.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.