pub fn calculate_potential_ship_speed(
num_of_box: &u32,
num_of_tri: &u32,
weight: &f64,
) -> f64Expand description
ยงCalculate a Potential Ship Speed
The calculate_potential_ship_speed function is used to calculate a potential speed for a ship
based on the number of box thrusters, triangle thrusters, and the weight of the ship.
It is important to note that this is a possible speed because the actual speed may differ depending on how well balanced the ship is and whether or not thrusters are placed at an angle. If your ship is symmetrical and all thrusters are aligned forwards or backwards, then the speed should be relatively accurate.
There are no guarantees that your ship will match this speed, but it is a good tool to try and get an estimate of how many thrusters you may need based on ship weight.