[fix] simulations now correctly count motors on boosters and pods
- thrust now counts motors on InnerTubes AND BodyTubes.
This commit is contained in:
parent
76d4136011
commit
95a927b3b7
@ -129,7 +129,9 @@ public class MotorClusterState {
|
||||
if( this.currentState.isThrusting() ) {
|
||||
double motorStartTime = this.getMotorTime( startSimulationTime);
|
||||
double motorEndTime = this.getMotorTime( endSimulationTime);
|
||||
return this.motorCount * motor.getAverageThrust( motorStartTime, motorEndTime );
|
||||
|
||||
int instanceCount = this.config.getMount().getLocations().length;
|
||||
return instanceCount * motor.getAverageThrust( motorStartTime, motorEndTime );
|
||||
}else{
|
||||
return 0.00;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user