508 Commits over 183 Days - 0.12cph!
▄▆▋█▌▆ ▍▇▅▅▉▅ ▌▍▄ ▆▌▄▉▄▍ ▉▊▍ ▆▆▄▋ █▍▇▌▆ ▍▅▋▄ ▄▋▌▍▌ █▍ ▍█▌▌▌▊▊ ▅▅ ▆▌▉▊▋▆▉▆▆▌▅ ▋▋▍▌▌▇▅▋ ▆▋▄ ▅▅▋▄▋█▆▍▌▇▆ ▊▍▅▊▅ ▆▌▅ ▊▋▍▆▅ ▅▉▄ ▄▉█▌▍█▆▋▇▌▊
Merge from broadphase_testing
switching to automatic box pruning
proper limits on hitch joint
Merge from jobify_ocean_sim
overly simplified basis for hitchable entities
burst cloth constraints tell you if you mess up the min/max constraint order
replaced more expensive OverlapSphere->bool check only ridable horse was making with CheckSphere
- removed Physics.OverlapSphere with bool return, we have CheckSphere for that
burst cloth handling view model scaling
- requires setting a transform field on viewmodel burstcloth setups (done for frontier_hatchet)
fixed silly gc allocs coming from version Mathf.Min and Mathf.Max that take params arguments
re-use already calculated shore distance and terrain height values in water heigh calc
further improvements
- replaced managed simdata with native
- corrected flattened 3D array indexing
- adjusted baking output to write data in native layout (rebaked)
Merge from obb_check_fixes
- test framework version bump 1.1.33 -> 1.4.4
buoyancy cycle doesn't use transform autoSync and syncs once at the end
initial jobified ocean height queries
- ran directly from the main thread, scheduling would be slower here due to number of queries made in different locations
- using a flattened native copy of the ocean sim data that needs to replace the managed version
Merge from Entity_Query_Improvements
merge from hackweek_better_mountable_editor
player model preview handling mountpoint rotation
more mount position handles
- position handles
- fixed cache issue with removing mount positions
second pass on mount position scene gui
- cached inactive GOs, disabled in hierarchy
- animation sampled for pose only if the mount position changes
- rendered with separate command buffer for more control
- toggleable
first pass of drawing players in vehicle mount positions in gizmos
- naive approach with some dumb allocations at the moment, going to move it to an editor next to allow better cachine
collision damage
- disabled for now
- also moved test data output to editor define
adjusted surface params
- static surface a bit liftier for quicker take-off
- control surfaces less twitchy
yoke visualising input properly because I can't tell if the model is bad or if I'm bad at flying
Added aileron controls
- arbitrary control surfaces meant this just needed to add a surface on the edge of wing with opposite rotation axes
explicit surface lift calculations replaced with processing a set of serialized surface types
plane updates
- non-control surfaces use a different lift curve
- adjusted curves
- mouse input for pitch/roll, keys for yaw
- debug csv output for surface values against different AoA
- added testing scene
Fixed offset in vehicle mountable gizmos
Rough initial model
- lift and drag calculated from arbitrary control surface definitions, needs splitting up more
- still requires some fudge factors for proper lift within desirable rust speeds
Editor for BaseMountable that lets you edit dismount points with Handles (works for all subclasses)
fixed dangling profiler sample that would stack with following sample regions
added BaseEntity query that properly checks radius against the entity obbs
- existing uses replaced with GetInSphereFast version that don't do the finer check
missing Intersects2D function
test cases for gjk distance - covers most edge cases from different features (vertex/edge/face)
fixed mistake in SquareDistance
Replaced OBB Distance and Intersection functions with accuracte implementations
- GJK for distance functions, cheaper SAT for intersection
- square distance function is also replaced, but it still has to run the GJK algorithm so the savings on it are marginal
Fixing some client issues with ragdolls
- moved ragdoll client cycle so limb interpolation can run before player reads it
- force an immediate net sync onragdolling for initial state to be in sync with ragdoll entity creation