Skip to content
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

Modified the player default geometry to better match real world players. #362

Merged
merged 1 commit into from
Feb 17, 2023

Conversation

Malcolmnixon
Copy link
Collaborator

This pull request fixes issue #360 by adjusting the default players geometry as recommended.

Additionally this highlighted an issue entering the teleporters. Entering the teleport area wasn't reliable as the ramp was at 45 degrees which is also the default slope limit of the player. It was usable before because the players body was large enough to trigger the teleport area anyway. This lowers the slop of the teleporter ramp to around 33 degrees so the player can reliably walk into the teleporter.

Modified teleporter so players can walk into them.
@Malcolmnixon
Copy link
Collaborator Author

The following seems to be a fairly good standard measurements chart for referencing:
image

The result of this indicates:

Measurement Male Female Average
Height 1.77 1.66 1.71
Arm Length 0.72 0.67 0.70
Hip Width 0.34 0.35 0.34
Depth 0.195 0.185 0.19
Eye Forward 0.085 0.080 0.082

Given this, sensible approximations for a capsule approximation seem to be:

Geometry Value Description
Radius 0.17 This covers the players width
Minimum Height 0.6 This lets the player bend over and pick something off the ground
Maximum Height 2.1 This is slightly over the 97.5th percentile
Eye Forward 48% This is based on the radius

Copy link
Member

@BastiaanOlij BastiaanOlij left a comment

Choose a reason for hiding this comment

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

lgtm

@Malcolmnixon Malcolmnixon merged commit dd7dbd5 into GodotVR:master Feb 17, 2023
@Malcolmnixon Malcolmnixon deleted the player-geometry branch February 17, 2023 13:01
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