Ludvig Böklin
93ce593c62
Increase glider aspect ratio and remove inline tweaks
2021-04-25 07:50:27 +02:00
Ludvig Böklin
a6dc8853da
Set fluid medium to air if none
2021-04-25 07:50:27 +02:00
Ludvig Böklin
23995b2ef1
Preserve current fluid medium
2021-04-25 07:50:26 +02:00
Ludvig Böklin
7186569259
Reduce abstraction for lift calculation; remove RigidWings struct
2021-04-25 07:50:17 +02:00
Ludvig Böklin
96168b5654
No gliding bodies, only gliding glider
2021-04-25 07:48:32 +02:00
Ludvig Böklin
906bf798e7
Implement lift and adapt things to work with it
2021-04-25 07:46:41 +02:00
Ygor Souza
71b8426592
Add basic distance check to shockwave hit test
...
Before checking if the entity hitbox intersects the shockwave shell, we
do a basic check that the entity is close enough to be hit, considering
its radius.
This fixes the unlimited vertical range problem, since the distance is
measured in 3D.
2021-04-24 03:09:45 +02:00
Ygor Souza
e59f1e8d28
Skip physics pass for arrows stuck on surfaces
...
This keeps the arrow velocity from changing, which is what was causing
the ProjectileHit outcome to be pushed multiple times for the same
arrow, since the outcome checks if the arrow velocity is above a given
threshold.
2021-04-22 23:03:04 +02:00
Imbris
51c0f8733c
Quick physics perf fix
2021-04-21 14:03:23 -04:00
Imbris
1af4a04231
Revert "Merge branch 'revert-b10718c5' into 'master'"
...
This reverts merge request !2172
2021-04-21 17:10:13 +00:00
Imbris
fd672980c4
Revert "Merge branch 'imbris/agent-opt' into 'master'"
...
This reverts merge request !2024
2021-04-21 14:10:06 +00:00
Imbris
e750c9d570
Switch agent target search to use a spatial grid, add convience method for querying the aabr of a circle
2021-04-20 15:25:04 -04:00
Imbris
a76fdbc325
Expose CachedSpatialGrid resource that is updated by the physics system, move BuildAreas into its own module, removed unused ExecMode
2021-04-20 15:25:04 -04:00
Imbris
26222a0a2d
Rename common-sys to common-systems and rearrange common-state slightly
2021-04-20 15:25:04 -04:00