Skip to content

Player Free Rotation in space#64

Draft
zyxkad wants to merge 37 commits into
mainfrom
player_rotation
Draft

Player Free Rotation in space#64
zyxkad wants to merge 37 commits into
mainfrom
player_rotation

Conversation

@zyxkad
Copy link
Copy Markdown
Collaborator

@zyxkad zyxkad commented Jul 30, 2025

Free rotate player is off by default, you can turn that on in server config.

  • Player will no longer have friction in space when FRP is enabled.
  • Roll keys are Z for counter-clockwise and C for clockwise by default.
  • You can adjust roll speed in client config.
  • When moving your mouse, player body will move along with you. Hold LEFT_ALT if you only want to move the head.
  • Double click LEFT_ALT to reset player head rotation.
  • Press sprint key to rotate player's body behind view direction.
  • Magnet boots now works in curios boots slot and can be toggled by X

Known bugs:

  • Player can rotate through walls
  • Player collision is inaccurate when touching corner, may become slightly unmovable or move through it (only when player has angle difference with the ship).

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 30, 2025

Build Preview

badge

You can find files attached to the below linked Workflow Run URL (Logs).

Name Link
Commit 7414cab
Logs https://github.com/jcm236/Starlance/actions/runs/18016312439
JavaDoc https://jcm236.github.io/Starlance/javadoc/pr-64/
Jar Files Starlance Artifacts PR 64
Expires At 2025-12-24T17:56:59Z

@zyxkad zyxkad requested a review from blockninja124 August 6, 2025 18:18
@zyxkad zyxkad marked this pull request as ready for review August 6, 2025 18:18
@zyxkad
Copy link
Copy Markdown
Collaborator Author

zyxkad commented Aug 6, 2025

@blockninja124 I think we can merge this as an experimental thing first

@zyxkad zyxkad marked this pull request as draft September 20, 2025 00:37
@blockninja124
Copy link
Copy Markdown
Collaborator

With sprinting rotating you, won't that be pressed by accident a lot and be annoying?

Actually I feel like, no matter what keybinds we have, controlling the minecraft character in all rotations is rather tricky. But I don't have any alternatives, so I guess its fine for now. I'll see if I can review the code this week, feel free to remind me, but if I don't get round to it you can probably merge without my code review.

@zyxkad
Copy link
Copy Markdown
Collaborator Author

zyxkad commented Sep 22, 2025

With sprinting rotating you, won't that be pressed by accident a lot and be annoying?

Sprinting only rotate your body and not your head. Which means it is a feeling of entering swimming pose.

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