branchrust_reboot/main/Submarinecancel
475 Commits over 122 Days - 0.16cph!
Don't allow buoyancyScale to go right to zero, as Buoyancy.cs puts the rigidbody immediately to sleep if you do! Solves some weird behaviour
▆▉▇▍ ▍ ▇▋▇▊█▍▋ ▊▇▍▄, ▆▌▌█ ▇▊▄▇ ▄▉▋▍
Fix subs surfacing way too fast when driver dismounts
Adjust player colliders when mounted in the subs, to match them up with player bounds and make sure they can't be shot through sub walls
Simplify and improve the sub dive/climb method
Fixed buoyancy regression bug that broke buoyancy with other water sources (swimming pool etc)
Adjusted sub mass and buoyancy
Adjusted duo sub driver view pos. Increased sub user's underwater view distance.
IK setup for driver and passenger hands and feet
Adjusted solo sub mount and eye pos so that it works well in both first and third person. Viewing eye pos and ACTUAL eye pos were quite different.
Solo sub mount changes, player is not standing
Added visual UI interaction option for swapping seats in the duo sub, if the player looks far enough behind them
Duo sub rear seat mount and view angle adjustments.
Fix modular car fuel reporting incorrectly
Added engine and fuel systems to the subs. Added fuel interaction. Added placeholder fuel tank to the solo sub. A little bit of engine and fuel code cleanup on Modular Cars and Work Cart.
Shift the centre of mass forward/back slightly when rising or descending, so that the sub will tend to angle towards the direction it's going
Sub exterior effects & organized the hierarchies
Nixed legacy self illumination on some splash/mist mats
pfx scene backup
More sub effects & related files
When particle bubbles reach the water's surface, have the float on the surface of the water instead of continuing to rise into the air
Cleanup, fx edit, particle start/stop bugfix, disable Compound by default on my test map
▉▌▇▋▍ ▌▅▉▅ & ▅▊▉▋▉▉▆ ▊▍▅▆▍▊ ▄█ ▊▋▇▇▅▌▄▌▅ ▅▋▇█▉ ▊▄▌
effects scene backup & related new files
fixed gauge needle AO shadow being baked onto the dial face
added instrument panel emissive texture
other minor sub texture tweaks
WIP stopping particles from showing above the water
Water level check fix. Add collision to bubbles so they don't show inside the sub when reversing.
Get in water/not in water info. Don't show bubbles when not in water
Reposition the prop bubbles on the duo sub
Add basic semi-placeholder bubble FX for the sub propeller
Add missing meta files for new sub effects
Another rudder controls edit
Dashboard functions and interior WIP
FX scene backup & related files.
Prop is now animated on both subs
Separate the propeller from the solo sub model (duo sub prop was already separated). Update LOD groups for rudders and props.
Physical rudder movement, client-side tick, profiling
Redo stomped changes to solo sub turret model
Send steering input data from server to clients. Added save/load and proto stuff. Added physical rudder movement.
Fix rudder visual pivot point