branchrust_reboot/main/vehicle_optimcancel
6 Commits over 0 Days - ∞cph!
force anything derived from BaseVehicleMountPoint to opt-in to get a VehicleFixedUpdate, no current cases as they don't need the boundary push behaviour and nothing is implementing it currently
- avoids adding it to the AllMountables processing list so avoids unecessary null check overhead as well
stationary player helis return cached grounded state instead of always calculating it
subs get boundary checks as well
reduced amount rigidbody pos/rot is accessed when determining if a ModularCar is stationary, it was causing multiple unecessary transform syncs
use HasDriver flag instead of always searching for a driver seat for vehicles (reduces a lot of overhead from unoccupied vehicles, especially modular cars)