Commit Graph

8866 Commits

Author SHA1 Message Date
Oresavna
63f2105c84 send WindRequest from client and receive WindUpdate 2021-06-22 15:45:31 +02:00
Oresavna
c885aa3607 Add WindUpdate and WindRequest messages 2021-06-22 15:45:31 +02:00
Oresavna
b971e46753 Add world to grid conversions to WindSim 2021-06-22 15:45:31 +02:00
Oresavna
711b76202b Add windsim module and system to server crate 2021-06-22 15:45:31 +02:00
Ludvig Böklin
1ea087a54d Debug visualisation of relative wind velocity 2021-06-22 15:43:30 +02:00
Ludvig Böklin
1960ddd62b Make debug lines visible from more directions 2021-06-22 15:43:30 +02:00
Ludvig Böklin
eddc967462 Fix GlideWield overriding state changes 2021-06-22 11:20:40 +02:00
Ludvig Böklin
2165fc7d2e Cargo.lock 2021-06-22 10:40:40 +02:00
Ludvig Böklin
8a987b8de1 Undo gravity hack and set gravity to 1G again 2021-06-22 10:32:10 +02:00
Ludvig Böklin
4e3453301b Improve glider rotation 2021-06-22 10:32:10 +02:00
Ludvig Böklin
1022477713 Maybe fix glider flip 2021-06-22 10:32:10 +02:00
Ludvig Böklin
4568a7a38f Hack custom gravity of 1G while gliding 2021-06-22 10:32:10 +02:00
Ludvig Böklin
a8d4beccf5 Cargo.lock 2021-06-22 10:32:10 +02:00
Ludvig Böklin
262b91a14e Tweak glider controls
Adjust base glider pitch
2021-06-22 10:32:09 +02:00
Ludvig Böklin
fb4edef4f8 Set GRAVITY to 25.0 as in master and adjust drag reference area scale to compensate 2021-06-22 10:32:09 +02:00
Ludvig Böklin
fa24a5c317 Remove timed input easing after started gliding 2021-06-22 10:32:09 +02:00
Ludvig Böklin
56dfd5a4ff Glider dist based on char height 2021-06-22 10:32:09 +02:00
Ludvig Böklin
b62177e091 Don't remove all negative lift 2021-06-22 10:32:09 +02:00
Ludvig Böklin
63fd08f619 Make character visually rotate around centre of gravity while gliding 2021-06-22 10:32:09 +02:00
Ludvig Böklin
c1ecc8374b Ease glider roll 2021-06-22 10:32:09 +02:00
Ludvig Böklin
dbffd90f0e Prevent rotation from negative lift and fix glider ori in wield state 2021-06-22 10:32:09 +02:00
Ludvig Böklin
6f2f27e993 Fix issue with nonsensical glider roll 2021-06-22 10:32:09 +02:00
Ludvig Böklin
94bfa1c72a Keep character standing up while on ground 2021-06-22 10:32:09 +02:00
Ludvig Böklin
61233fd59d Don't reset ori when exiting glide state and misc tweaks 2021-06-22 10:32:09 +02:00
Ludvig Böklin
9e20b090c4 Implement aerodynamic GlideWield 2021-06-22 10:32:09 +02:00
Ludvig Böklin
df666cef40 Improve glider controls; physics-based heuristic for character ori 2021-06-22 10:31:56 +02:00
Ludvig Böklin
208438a26c Add some util functions to Ori 2021-06-22 10:31:41 +02:00
Ludvig Böklin
74f9945ab3 Refactor and abstract fluid dynamics 2021-06-22 10:31:40 +02:00
Ludvig Böklin
5f44101486 Define humanoid dimensions as measured in-game
Make Body::dimensions and Body::height methods const

Modify humanoid dimensions for calculation of drag
2021-06-22 10:24:54 +02:00
Ludvig Böklin
986b413521 Sort cases in mass match 2021-06-22 10:23:42 +02:00
Treeco
856e3849f7 Vastly improve glide ratios and soaring capability
Character masses and dimensions have been vastly changed. This is necessary to limit drag - they were practically sails previously.
Character proportions are now closer to those of IRL humans than to their voxel models.
This may screw up entity collision, in which case body dimensions for aerodynamics and for everything else may need to be separated.
Gliders now scale with character size, with a wingspan 3x their height and a chord 1x/3.
Gliding is also now very very fast under 2.5g, but much tamer under Earth gravity. This may need dealing with.
2021-06-22 10:23:41 +02:00
Dominik Broński
8356e2ffca Merge branch 'aweinstock/lava' into 'master'
Lava

See merge request veloren/veloren!2482
2021-06-21 20:49:44 +00:00
Joshua Barretto
011f76dbf2 Merge branch 'zesterer/small-fixes' into 'master'
Small improvements

See merge request veloren/veloren!2488
2021-06-21 20:49:41 +00:00
Joshua Barretto
e930ff6779 Sanitise controller inputs 2021-06-21 21:13:49 +01:00
Joshua Barretto
90e5bac395 Made movement slower when strafing in non-forward directions 2021-06-21 20:32:20 +01:00
Joshua Barretto
b84708ca75 Added chat toggle 2021-06-21 20:16:03 +01:00
Joshua Barretto
8ab222bf80 Selectively disable glow flicker for small wins on low-end systems 2021-06-21 17:06:43 +01:00
Joshua Barretto
f85a59d33a Merge branch 'zesterer/small-fixes' into 'master'
A plethora of improvements

See merge request veloren/veloren!2486
2021-06-21 14:19:13 +00:00
Joshua Barretto
288f2c13d4 Enable strafing in first-person mode 2021-06-21 13:27:19 +01:00
Justin Shipsey
c744cd4365 Merge branch 'donovanlank/Cool_Blue_Lantern' into 'master'
made it so Cool Blue Lantern is actually blue

See merge request veloren/veloren!2474
2021-06-21 05:37:49 +00:00
Marcel
ec7d3b5e37 Merge branch 'swilliams/give_item_fix' into 'master'
Fix for Issue 1210

See merge request veloren/veloren!2484
2021-06-20 23:26:59 +00:00
Marcel
b0574b4ddc Merge branch 'imbris/tracy' into 'master'
Refactor Client message handling, improve use of tracy, increase coverage of profiling spans in voxygen

See merge request veloren/veloren!2479
2021-06-20 23:17:08 +00:00
Marcel
4e600814ee Merge branch 'yusdacra/chore/nix' into 'master'
build(nix): fix git ref not found and git lfs check

See merge request veloren/veloren!2480
2021-06-20 22:54:37 +00:00
Scott Williams
80c45b6396 Added another .replace 2021-06-20 22:55:58 +01:00
Dominik Broński
3f45f7f250 Merge branch 'jshipsey-master-patch-07838' into 'master'
Update difficulty_distribution.ron

See merge request veloren/veloren!2483
2021-06-20 20:40:07 +00:00
Justin Shipsey
667e667ac8 Update difficulty_distribution.ron 2021-06-20 19:42:21 +00:00
Dominik Broński
b046541b69 Merge branch 'christof/trade_optimization' into 'master'
Accelerate econsim using arrays instead of hashmaps

See merge request veloren/veloren!2216
2021-06-20 16:00:37 +00:00
Christof Petig
79d7e79776 Accelerate econsim using arrays instead of hashmaps 2021-06-20 16:00:37 +00:00
Avi Weinstock
0f9181cbcb Address MR 2482 comments.
- Change lava density to 3x water density.
- Use `ServerEvent::Buff` instead of modifying the buff component directly.
- Revert commented-out changes to fluid shaders.
2021-06-20 11:32:05 -04:00
Samuel Keiffer
b37106e71f Merge branch 'juliancoffee/hot_reload_dungeon_difficulty' into 'master'
Add config file for dungeon distribution

See merge request veloren/veloren!2481
2021-06-20 04:07:26 +00:00