|
Rotate/Set Vessel reference heading
|
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...
Code:
void SetVesselRefAxis(const VECTOR3& raxis);
|
|
|
Issue Details
|
|
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
|
|
|
|
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...
|
All times are GMT. The time now is 07:53 AM.