How to determine which thrusters to turn on to rotate the ship?
- by migimunz
The configuration of the ship changes dynamically, so I have to determine which thruster to turn on when I want to rotate the ship clockwise or counter clockwise. The thrusters are always axis aligned with the ship (never at an angle) and are either on or off. Here's one of the possible setups:
What I've tried so far is to visualize the firing vector and the direction vector to the center of mass of the ship:
Unfortunately, I didn't get very far with that.