Skip to content

Fix weird rotations, a way to disable smoothening#4

Open
AndyRusso wants to merge 2 commits intoBstn1802:mainfrom
AndyRusso:reset-boatpos-and-disable-smoothing
Open

Fix weird rotations, a way to disable smoothening#4
AndyRusso wants to merge 2 commits intoBstn1802:mainfrom
AndyRusso:reset-boatpos-and-disable-smoothing

Conversation

@AndyRusso
Copy link

Hello! This pull request proposes 2 changes:

  • Resets boatPos after exiting a boat
  • Disables smoothening if smoothness is set to 100

In some cases, if boatPos is not reset, when entering a new boat the player will try to rotate according to the old position and also rotate the boat (for some reason). Simply resetting boatPos to null when exiting the boat fixes this.

Smoothening can be not desired by some users of the mod, for example when playing competitively smoothening can be a distraction, so I added a way to disable it by setting smoothness to 100.

Thanks for this great mod!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants