- Fixed visible columns of console view
- Fix
vessel.angular_moment
- Added helpers for steering:
vessel.global_toment_of_inertia
vessel.total_torque
- Add
std::control::steering
module to control a vessel without relying on the SAS system.
Example how to use it:
use { Vessel } from ksp::vessel
use { CONSOLE } from ksp::console
use { sleep } from ksp::game
use { control_steering } from std::control::steering
pub fn main_flight(vessel: Vessel) -> Result<Unit, string> = {
const control = control_steering(vessel)
control.set_heading(30, 20, 10)
for(i in 0..1000) {
sleep(0.1)
control.controller.print_debug() // Print internal state of the controller
}
control.release()
}