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

Looking through a block above on jumping #4612

Open
jdrueckert opened this issue Apr 2, 2021 · 3 comments
Open

Looking through a block above on jumping #4612

jdrueckert opened this issue Apr 2, 2021 · 3 comments
Labels
Topic: Rendering Requests, Issues and Changes related to lighting, meshes, camera, etc. Type: Bug Issues reporting and PRs fixing problems

Comments

@jdrueckert
Copy link
Member

What you were trying to do

Jump while looking up.

What actually happened

I jumped but also I was shortly able to look through the block above.

How to reproduce

  • Start CoreSampleGameplay
  • Dig into a mound such that you can walk in and have a block directly above you
  • Look up and jump
  • Observe that you can look through the block above for a sub-second
@jdrueckert jdrueckert added Type: Bug Issues reporting and PRs fixing problems Topic: Rendering Requests, Issues and Changes related to lighting, meshes, camera, etc. labels Apr 2, 2021
@mahela97
Copy link
Contributor

mahela97 commented Apr 18, 2021

I was messing around with this issue and found out it causes because the position of the eye is getting higher than the above chunk when the player jumps and collides with the above block. Currently, the eye height is 0.85. Reduce the eye height to 0.75 is the simplest solution I found. Shall I make the PR?

@Cervator
Copy link
Member

Cervator commented Apr 18, 2021

Reduce the eye height to 0.75 is the simplest solution

While this probably would work, it seems like it is just cloaking the underlying issue. Maybe instead the physics capsule surrounding the player should be a little taller, so you can't jump quite as high? So long as you can still get through 2-block high openings.

Edit: Err, I mean, you could still jump equally high as before. But if you're jumping in a tunnel you'd bump your head on the celling sooner so to say.

@skaldarnar
Copy link
Member

Probably related to #2535

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Topic: Rendering Requests, Issues and Changes related to lighting, meshes, camera, etc. Type: Bug Issues reporting and PRs fixing problems
Projects
None yet
Development

No branches or pull requests

4 participants