219 Commits

Author SHA1 Message Date
Joshua Barretto
3aad8818fa Initial implementation of pickaxe 2021-03-21 16:09:16 +00:00
Marcel Märtens
fcb00df6b8 Change the version number to 0.9 2021-03-20 13:07:09 +01:00
Samuel Keiffer
c96b191e6f Parallelized beam 2021-03-19 20:18:36 +00:00
Imbris
af56fb272b More voxel collision speedups by reducing the common cases from 5 to 3 voxel iterations 2021-03-18 21:20:22 -04:00
Marcel Märtens
94410ddedd cleanup faster physics calc 2021-03-18 15:22:28 +01:00
Imbris
03f02f5829 Combine 5 things into 1 2021-03-18 14:26:32 +01:00
Imbris
2072d00c7b Merge branch 'imbris/voxel-collider-broadphase' into 'master'
Spatial grid for voxel colliders as well as a basic bounding sphere test

See merge request veloren/veloren!1927
2021-03-18 07:03:04 +00:00
Sam
42c700bd2a Shockwaves and beams no longer use last position in calculating if they hit. 2021-03-17 17:24:39 -04:00
Imbris
1792068e4e Remove extra instrumentation and the old voxel collider loop 2021-03-16 23:42:13 -04:00
Imbris
d3f30fbfdb Spatial grid for voxel colliders as well as a basic bounding sphere test
before doing any actual expensive voxel collision checking
2021-03-16 23:32:03 -04:00
Marcel Märtens
f5ba496cd0 fix ci 2021-03-16 23:31:40 +01:00
Marcel
61aa7660ee Merge branch 'sam/invuln-fixes' into 'master'
Safezone fixes

See merge request veloren/veloren!1920
2021-03-16 22:20:42 +00:00
Sam
11a43f232e NPCs no longer target players inside safezones (and consider them to be defeated)
Warding aura no longer sometimes bypasses safezone invulnerability
2021-03-16 15:17:08 -04:00
Avi Weinstock
9bb42e0e99 Fix mounting by making deferred {pos,vel} writes optional in physics. 2021-03-16 14:04:28 -04:00
Marcel Märtens
0f405626e8 create a wrapper around rayon, slowjobpool, that spawns on rayon but drop feed it 2021-03-16 13:31:04 +01:00
Imbris
07bfa05fcb update changelog, clippy fixes 2021-03-16 04:06:15 -04:00
Imbris
621b41e7d5 Instrument all par joins, defer ubiquitous pos/vel writes with a component instead of using vecs 2021-03-16 03:50:45 -04:00
Imbris
351d2fc9bc Remove tweaks and plots 2021-03-16 03:50:45 -04:00
Imbris
cc3faf479c Add tracy plot for showing use_grid 2021-03-16 03:50:45 -04:00
Imbris
fc6434e191 Remove commented out radius list 2021-03-16 03:50:45 -04:00
Imbris
5bc9f584dd Setup spatial grid for entity versus entity collisions 2021-03-16 03:50:45 -04:00
Marcel
779e8892cc Merge branch 'sam/buff-fix-test' into 'master'
Fif Buff Emission

See merge request veloren/veloren!1910
2021-03-15 22:46:44 +00:00
Sam
3aba9d48f2 Test 2021-03-15 17:35:53 -04:00
Joshua Barretto
9fe64b445b Fixed incorrect velocity snapping on collision 2021-03-15 20:28:48 +00:00
Sam
0bd3e5e668 Mounting fix 2021-03-15 00:26:19 -04:00
Avi Weinstock
140b958193 Address Imbris's MR 1888 comments, and add changelog entry.
- Use Ori::{new,to_quat} and make the field private.
- Update/capitalize/add various comments.
- Implicitly drop scope guards where applicable.
- Take !Copy colliders by reference instead of cloning.
- s/cylinder_voxel_collision/box_voxel_collision/
- Unindent some physics code with a continue.
2021-03-14 23:21:46 -04:00
Joshua Barretto
21656706f6 Improved climbing, block-hopping on airships 2021-03-14 23:21:45 -04:00
Avi Weinstock
caafa0bb71 Fix interpolation for possession, and make the mount point of airships above their deck. 2021-03-14 23:21:45 -04:00
Joshua Barretto
feb1144f52 Fixed climbing/falling friction when on a wall 2021-03-14 23:21:45 -04:00
Joshua Barretto
de24b3db57 Fixed block-snapping, climbing and airship takeoff 2021-03-14 23:21:44 -04:00
Avi Weinstock
55db12e318 Add hermite interpolation for position (disabled for now with a flag, since it breaks possession). 2021-03-14 23:20:48 -04:00
Avi Weinstock
649a54d188 Get linear interpolation working for {Pos,Vel,Ori} with client-side timestamps. 2021-03-14 23:20:48 -04:00
Avi Weinstock
ef1ebbcdce Add machinery for storing component buffers for interpolation. 2021-03-14 23:20:47 -04:00
Joshua Barretto
ca1e72cfa7 Made entities rotate smoothly with airships, fixed rotation speeds 2021-03-14 23:20:47 -04:00
Joshua Barretto
7b7b70b2e8 Fixed jumping inconsistencies, no block-snapping for ships 2021-03-14 23:20:46 -04:00
Joshua Barretto
709444eede Initial pass for gravity and air resistance for more stable physics 2021-03-14 23:17:29 -04:00
Joshua Barretto
d434ef35cc Slightly increase block-hop height for better airship block-hopping 2021-03-14 23:17:29 -04:00
Joshua Barretto
1050b6a87c Removed unnecessary matrix mul 2021-03-14 23:17:29 -04:00
Joshua Barretto
d1c15cbafe Fixed arrows 2021-03-14 23:17:29 -04:00
Joshua Barretto
f768c3f853 Properly propagate velocity steps during airship collision to avoid falling through airships 2021-03-14 23:17:28 -04:00
Joshua Barretto
26c9fd63ae Reduced air resistance for better-behaving airships 2021-03-14 23:17:28 -04:00
Joshua Barretto
50b3039cbc Fixed incorrectly reversed orientation matrix 2021-03-14 23:17:28 -04:00
Joshua Barretto
a663818324 Fixed incorrect wall climb direction on airships 2021-03-14 23:17:28 -04:00
Joshua Barretto
b24c89050a Fewer precision issues by using player-relative coordinate space 2021-03-14 23:17:28 -04:00
Avi Weinstock
ee7f760e78 Address MR 1888 review comments.
- Delete obsolete symbolic links.
- Add suggested comments.
- Remove dead code.
2021-03-14 23:17:28 -04:00
Avi Weinstock
036e0c1f02 Fix fmt and clippy, and rename {psdr,psdw} to {read,write} in physics. 2021-03-14 23:17:26 -04:00
Joshua Barretto
65141673c0 Relative velocity collisions 2021-03-14 23:14:26 -04:00
Joshua Barretto
1395462c27 More relative motion changes 2021-03-14 23:14:26 -04:00
Joshua Barretto
db7d5a7771 Fixed water collision bug 2021-03-14 23:14:25 -04:00
Joshua Barretto
3fe3e5f183 Made airship terrain hitboxes smaller 2021-03-14 23:14:25 -04:00