Skip to content
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.

Water physics feel different in MC #213

Open
leorockway opened this issue Jun 3, 2017 · 5 comments
Open

Water physics feel different in MC #213

leorockway opened this issue Jun 3, 2017 · 5 comments

Comments

@leorockway
Copy link

I adjusted some of my water physics on MT because it feels different in MC. I'm not sure I got my values right, but this is what I have:

movement_liquid_sink = 35
movement_liquid_fluidity_smooth = 0.5
movement_liquid_fluidity = 0.5

@Wuzzy2
Copy link
Owner

Wuzzy2 commented Jun 3, 2017

Thank you!

According to http://minecraft.gamepedia.com/Transportation, the horizonal swimming speed is higher.

I came up with a movement_liquid_fluidity of 1.13. This gives me a horizontal water movement speed of ca. 1.9-2.0 m/s which roughly matches what the wiki says. Fix is already applied. I used the smooth value of 0.5 like suggested. Feel free to test.

I don't really know about the sink and rising speed. With your suggested values, the sink speed is insane with ca. 4.0 m/s downwards. You sink slower with sneaking! And rising speed is at ca. 1.9 ms/s upwards.

For these tests, the speedometer from my orienteering mod really came in handy! :-)

If you could somehow measure the actual sink and rising speeds in Minecraft, that would be great! Also check if the sinking speed changed when you hold down the sneak key in water.
That way, I can easily compare the speeds and find a sane value.

@leorockway
Copy link
Author

The values I shared were a complete guess without any kind of research. I just felt that MT default water felt more like jello. I'll test these new values you added and I'll report back.

@leorockway
Copy link
Author

leorockway commented Jun 3, 2017

In Minecraft sneaking has no effect on the sinking speed. I kind of feel that the right sinking speed for MineClone should be the one one gets while sneaking. But this is just a feeling, I have no way of actually measuring this; all I'm doing is switching windows and trying MineClone and Minecraft one after the other.

Edit: Apparently the liquid_sink value of 25 makes it so that sinking with or without the sneaking key is about the same. 35 was indeed really fast with your fluidity.

@Wuzzy2
Copy link
Owner

Wuzzy2 commented Jun 3, 2017

Well there is a very simple way of measuring the speed:
Just sink from the top of the water for a long way down and measure the time it takes to get to the bottom. With number of blocks / time you get the speed.
Same for bottom to top, obviously.

@leorockway
Copy link
Author

That same article you linked has vertical waterfall movement speed, which would be more accurate with me using a stopwatch.

Vertical transportation in waterfall:
No adjacent blocks 2.0 m/s
Ascending, with adjacent blocks 0.6 m/s
Descending, with adjacent blocks 3.4 m/s

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants