ba12d784ed
Decrease wind velocities
2021-06-22 15:45:31 +02:00
3caea942e5
Interpolate fluid velocity updates to entities
2021-06-22 15:45:31 +02:00
bd76bf823a
Fixed timesteps for windsim
2021-06-22 15:45:31 +02:00
788d0e7e13
Set wind velocities on entities in server
2021-06-22 15:45:31 +02:00
0338b67527
add frequency control for sim - once per second
2021-06-22 15:45:31 +02:00
bcb62df809
Add lots of wind sources at the western border of map and make them tweakable
2021-06-22 15:45:31 +02:00
91f96a57f5
add add_velocity_source helper to WindSim
2021-06-22 15:45:31 +02:00
766897ce65
Make results of wind simulation push the player
2021-06-22 15:45:31 +02:00
63f2105c84
send WindRequest from client and receive WindUpdate
2021-06-22 15:45:31 +02:00
c885aa3607
Add WindUpdate and WindRequest messages
2021-06-22 15:45:31 +02:00
b971e46753
Add world to grid conversions to WindSim
2021-06-22 15:45:31 +02:00
711b76202b
Add windsim module and system to server crate
2021-06-22 15:45:31 +02:00
1ea087a54d
Debug visualisation of relative wind velocity
2021-06-22 15:43:30 +02:00
1960ddd62b
Make debug lines visible from more directions
2021-06-22 15:43:30 +02:00
eddc967462
Fix GlideWield overriding state changes
2021-06-22 11:20:40 +02:00
2165fc7d2e
Cargo.lock
2021-06-22 10:40:40 +02:00
8a987b8de1
Undo gravity hack and set gravity to 1G again
2021-06-22 10:32:10 +02:00
4e3453301b
Improve glider rotation
2021-06-22 10:32:10 +02:00
1022477713
Maybe fix glider flip
2021-06-22 10:32:10 +02:00
4568a7a38f
Hack custom gravity of 1G while gliding
2021-06-22 10:32:10 +02:00
a8d4beccf5
Cargo.lock
2021-06-22 10:32:10 +02:00
262b91a14e
Tweak glider controls
...
Adjust base glider pitch
2021-06-22 10:32:09 +02:00
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
fa24a5c317
Remove timed input easing after started gliding
2021-06-22 10:32:09 +02:00
56dfd5a4ff
Glider dist based on char height
2021-06-22 10:32:09 +02:00
b62177e091
Don't remove all negative lift
2021-06-22 10:32:09 +02:00
63fd08f619
Make character visually rotate around centre of gravity while gliding
2021-06-22 10:32:09 +02:00
c1ecc8374b
Ease glider roll
2021-06-22 10:32:09 +02:00
dbffd90f0e
Prevent rotation from negative lift and fix glider ori in wield state
2021-06-22 10:32:09 +02:00
6f2f27e993
Fix issue with nonsensical glider roll
2021-06-22 10:32:09 +02:00
94bfa1c72a
Keep character standing up while on ground
2021-06-22 10:32:09 +02:00
61233fd59d
Don't reset ori when exiting glide state and misc tweaks
2021-06-22 10:32:09 +02:00
9e20b090c4
Implement aerodynamic GlideWield
2021-06-22 10:32:09 +02:00
df666cef40
Improve glider controls; physics-based heuristic for character ori
2021-06-22 10:31:56 +02:00
208438a26c
Add some util functions to Ori
2021-06-22 10:31:41 +02:00
74f9945ab3
Refactor and abstract fluid dynamics
2021-06-22 10:31:40 +02:00
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
986b413521
Sort cases in mass match
2021-06-22 10:23:42 +02:00
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
8356e2ffca
Merge branch 'aweinstock/lava' into 'master'
...
Lava
See merge request veloren/veloren!2482
2021-06-21 20:49:44 +00:00
011f76dbf2
Merge branch 'zesterer/small-fixes' into 'master'
...
Small improvements
See merge request veloren/veloren!2488
2021-06-21 20:49:41 +00:00
e930ff6779
Sanitise controller inputs
2021-06-21 21:13:49 +01:00
90e5bac395
Made movement slower when strafing in non-forward directions
2021-06-21 20:32:20 +01:00
b84708ca75
Added chat toggle
2021-06-21 20:16:03 +01:00
8ab222bf80
Selectively disable glow flicker for small wins on low-end systems
2021-06-21 17:06:43 +01:00
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
288f2c13d4
Enable strafing in first-person mode
2021-06-21 13:27:19 +01:00
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
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
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