Skip to content

Fix tickrate-dependent physics in Voxel demo #1224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Jun 26, 2025

  • Fix mouse sensitivity being dependent on window size by using InputEventMouseMotion.screen_relative.

Tested on 4.4.1.stable, so this can be cherry-picked.

- Fix mouse sensitivity being dependent on window size by using
  `InputEventMouseMotion.screen_relative`.
@Calinou Calinou force-pushed the voxel-fix-tick-dependent-physics branch from 5bc3ace to 91778a8 Compare June 26, 2025 15:28
3d/physics_engine="Jolt Physics"
3d/default_gravity=20.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd love to find a solution that doesn't involve gravity being 20 m/s², but this is already a thing from a previous update, so it doesn't have to block this PR.

Copy link
Member Author

@Calinou Calinou Jun 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Real world gravity often doesn't make for satisfying character controllers, so you often have to turn it way up in practice (and increase jump height to compensate).

We could increase gravity specifically in the character controller if we don't want to change this project setting.

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

Successfully merging this pull request may close these issues.

Voxel demo doesn't scale acceleration or friction by delta
2 participants