userGriglercancel

1,296 Commits over 548 Days - 0.10cph!

48 Days Ago
merge from boat_mountable_fixes
48 Days Ago
set steering wheel as DirectlyMountable, behaviour is the same but shortcuts checking the vehicle parent MountInfo in some cases
48 Days Ago
check whether the BaseMountable is a MountPoint for its vehicle parent when checking HasValidDismountPosition - already being checked for retrieving the actual positions, this just stops the menu item being hidden in some cases
48 Days Ago
setting ForceDeployableSetParent to true for the PlayerBoat so parenting deployables actually works
48 Days Ago
missing file
48 Days Ago
moving some cargoship/tugboat special behaviour cases in deployabled and HitInfo to be driven by an interface tag rather than direct type check - deployables parent directly to the vehicle instead of sub-entities - special handling in some HitInfo data generation
48 Days Ago
merge from shorevector_disabled_terrain_fix
48 Days Ago
rebaked Tropical 3 and 4, slope data was broken
48 Days Ago
handling disabled terrain properly in shore vector bake
48 Days Ago
corrected buoyancy using almost none of the correct DeepSea data sources for querying wave information
51 Days Ago
put the ocean back into the cargo test scene (ocean topology)
51 Days Ago
merge from fc_shorevector_fixes
51 Days Ago
painted ocean topology onto shared FC terrain and rebaked shore vectors
51 Days Ago
handling null/empty heightslope and waterheight data in baked data properly (was trying to blit empty arrays)
51 Days Ago
rebaked FC 1/2/3 so the data isn't infinity
51 Days Ago
support minimum enforced shore distance on baked data to handle FC better
52 Days Ago
merge from oceansimulation_split - running two ocean simulations, all usage switches between based on position (like all other deepsea code) and batched queries gather indirect indices
52 Days Ago
52 Days Ago
52 Days Ago
fixed issues with batched ocean trace deferred jobs using AsDeferredJobArray for the rays in the IJobParallelForDefer OceanTraceJob as the indices now drive the deferred batch size and we still need a view of the rays list that is aware of the populated size in previous jobs. This maintains parallelism and a single set of job dependencies without needing a complete/sync
52 Days Ago
fixed WaterSystem NRE
52 Days Ago
merge from deep_sea
52 Days Ago
codegen
52 Days Ago
OceanSimulation split between deepsea and mainland - required extra indirection in most batched water queries but it's hidden away
52 Days Ago
strong internal hurt triggers in square hull to handle both clipping and player damage
52 Days Ago
merge from player_hurt
52 Days Ago
assigned missing physics mats on some boat building blocks
52 Days Ago
initialize deep sea shore vectors properly when loading cached shore vectors (editor-only issue)
52 Days Ago
cleanup left note for possible change to how angles are populated if it proves a performance issue
52 Days Ago
merge from directional_drag
52 Days Ago
added command to print DragByAngle table of a boat you're looking at (admin only)
52 Days Ago
reduced ray count slightly and only recaching BoatBuildingBlocks if the list is empty
53 Days Ago
better ray batching, as always it's bottlenecked by Verify - added GamePhysics.SortDeferred which returns the sort JobHandle, useful in this case where we're scheduling multiple parallel batches
53 Days Ago
mapped accumulated area to drag values, needs further balancing but adjusts between 0.8->1.5 rang currently - using batched casts, still a bit slow - substepping drag values between angles for continuous values
53 Days Ago
merge from boat_building
53 Days Ago
initial WIP directional drag (not balanced and not fast) - take a set of planes offset from hull block bounds at a regular set interval - project min/max bounds extents onto plane and perform a set of raycasts in flow direction and use dot of normal against -flow to scale drag impact and accumulate - drag is saved per-angle and will update for the boat at set intervals by slerping between nearest values to current angle of velocity against forward - considering this as "drag" currently, but may apply this as a force for easier control
54 Days Ago
structure to query drag by angle from flattened pre-baked data (dummy data for testing)
54 Days Ago
merge from shore_vectors
54 Days Ago
sending client RPC to a player when entering the deep sea, currently only used to reset deepsea terrain texturing data
54 Days Ago
merge from physics_pass_two
54 Days Ago
playerboat wavePID balance
54 Days Ago
check boat engine state instead of driver state for enabling correction forces (playerboats are powered without someone at the helm)
54 Days Ago
improve transform access in correction forces
54 Days Ago
undid plane points reordering in the prefab, code was adjusting it in the wrong order - corrected there instead
54 Days Ago
re-ordered control forces plane points so plane normal points up, also set non-stupid values for control accel
54 Days Ago
steeringwheel controls HasDriver flag of parent boat
54 Days Ago
enabling PlayerBoat correction forces with some initial balance
54 Days Ago
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
55 Days Ago
handling torque scaling properly when accumulated forces cancel (was dividing by zero in some cases and apply naninf torque)
55 Days Ago
removed unused field from shore vector override mod