CodeF53 / Horse-Buff

Makes Horses better by removing stupid things
Other
10 stars 9 forks source link

Fix horse velocity calculations #73

Open mistrk7 opened 4 months ago

mistrk7 commented 4 months ago

Monentum is done in the dumb way in Minecraft, where W key += forward momentum, D key += side momentum, etc. It makes walking sideways faster than what the velocity implies.

It's not normally an issue but at faster speeds like with horses it's noticable and you have to deal with it, which bothers me. This is how momentum is supposed to be calculated in games:

angle -= pi / 2;

velocity_x = cos(angle) * speed;
velocity_y = sin(angle) * speed;

please add this to horses

good luck implementing 😏 I bet you can't noob 💀

CodeF53 commented 4 months ago

Slowing down horses would be an awful feature.

mistrk7 commented 4 months ago

Then do this and increase their speed by like 1.1x or something. I hate having to run sideways