branchrust_reboot/main/naval_update/boat_building/physics_pass_twocancel
9 Commits over 0 Days - ∞cph!
playerboat wavePID balance
check boat engine state instead of driver state for enabling correction forces (playerboats are powered without someone at the helm)
improve transform access in correction forces
undid plane points reordering in the prefab, code was adjusting it in the wrong order - corrected there instead
re-ordered control forces plane points so plane normal points up, also set non-stupid values for control accel
steeringwheel controls HasDriver flag of parent boat
enabling PlayerBoat correction forces with some initial balance
added acceleration mode for boat wave correction forces, default is force (old behaviour)
- lets us have consistent control forces on playerboats without worrying about mass differences
handling torque scaling properly when accumulated forces cancel (was dividing by zero in some cases and apply naninf torque)