Avi Weinstock
7546b31057
Cargo fmt after rebasing.
2021-03-14 23:23:03 -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
Joshua Barretto
c39d7aa9df
Made level flight work
2021-03-14 23:20:48 -04:00
Avi Weinstock
0fe0562300
Add lerping of physics to extrapolated position, and enable sending updates for stopped entities.
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
0c5ff2ea11
Prevented jumping airships
2021-03-14 23:17:29 -04:00
Joshua Barretto
1637a5e889
Fixed airship manifest offset
2021-03-14 23:17:29 -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
Avi Weinstock
956b913a95
/airship angle
command and RtSim airships.
2021-03-14 23:14:26 -04:00
Joshua Barretto
6dbf033c61
Mountable airships
2021-03-14 23:14:25 -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
Joshua Barretto
1a850ae65f
Smooth airship movement
2021-03-14 23:14:21 -04:00
Joshua Barretto
59594feb1d
Made animations and friction ground-relative
2021-03-14 23:09:52 -04:00
Joshua Barretto
707549626b
Fixed airship collisions under rotation, added position increment for velocity when on ground
2021-03-14 23:09:52 -04:00
Avi Weinstock
c191b66371
Account for model translation in the physics. The voxel collider still needs to be north-aligned for now.
2021-03-14 23:09:52 -04:00
James Melkonian
acf8b1b5cd
Allow spawned airships to move
2021-03-14 23:09:52 -04:00
Avi Weinstock
c5c9855ab8
Airship fixes: figure culling, player hitbox bounds w.r.t. airships, physics state unioning.
2021-03-14 23:09:51 -04:00
Avi Weinstock
711509d0c1
Airship progress: now possessable, and physics kind of works (desyncs from the visuals by a shift + scale, and rotation isn't done at all yet, but the contours are correct).
2021-03-14 23:09:51 -04:00
Avi Weinstock
ff3f3d1271
Draft of airships (spawn command, visuals, some physics refactoring, no collision yet).
2021-03-14 23:09:49 -04:00
Marcel
5ac731254d
Merge branch 'sam/yeet-inputs' into 'master'
...
Reworked Controller Inputs to use Control Actions
See merge request veloren/veloren!1900
2021-03-15 01:32:02 +00:00
Forest Anderson
7135c3b1fd
Merge branch 'synis/fix-safezone-mass' into 'master'
...
Fix safezone entity mass
See merge request veloren/veloren!1902
2021-03-15 00:52:03 +00:00
Imbris
83c6a546d4
Merge branch 'snowram/new-npcs' into 'master'
...
Snowram/new npcs
See merge request veloren/veloren!1896
2021-03-15 00:10:46 +00:00
Imbris
f89413fb20
Merge branch 'imbris/ping-while-waiting-for-gamesync' into 'master'
...
Keep connection alive while waiting for initial sync
See merge request veloren/veloren!1898
2021-03-14 22:07:56 +00:00
Sam
ce5ee03000
Wielding now works again
...
Rolling now resumes combo states correctly again
Cleanup
2021-03-14 17:26:55 -04:00
Sam
9733979565
Completely purged old method of inputs
2021-03-14 17:26:55 -04:00
Sam
9d2f1700e5
Inputs remain in queue while active, allowing interrupts and queued inputs to be more cleanly handled
2021-03-14 17:26:54 -04:00
Sam
98f82798f7
Secondary input now fully functional
2021-03-14 17:26:53 -04:00
Sam
37705fee6d
Primary ability fully functional.
2021-03-14 17:26:53 -04:00
Sam
282e574909
Support for canceling an input. Boost state hooked up to system.
2021-03-14 17:26:52 -04:00