Skip to content

Fixed hook rotation math using degrees instead of radians.#125

Open
squeeglii wants to merge 1 commit intoyyon:1.20.xfrom
squeeglii:fix/hook-rotation
Open

Fixed hook rotation math using degrees instead of radians.#125
squeeglii wants to merge 1 commit intoyyon:1.20.xfrom
squeeglii:fix/hook-rotation

Conversation

@squeeglii
Copy link
Copy Markdown

Original behaviour on 1.20.x:

  • The hook would spin sporadically as it flew through the air
  • The hook's angle wouldn't be aligned with the block it hit (i.e, the loop could be facing the block, or it could be flat against the block)

I think this was caused by the 1.19.3 update where they changed the method for rotation. This restores the old behaviour.

lonevox added a commit to lonevox/grappling-hook-neo that referenced this pull request Mar 28, 2026
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.

1 participant