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

Character: Collision on head should cancel vertical velocity #88

Open
DennisSmolek opened this issue Apr 26, 2024 · 0 comments
Open

Character: Collision on head should cancel vertical velocity #88

DennisSmolek opened this issue Apr 26, 2024 · 0 comments

Comments

@DennisSmolek
Copy link
Collaborator

Right now when you jump and hit your head, you float in space until the velocity cancels out due to gravity.
What should happen is when you jump and hit your head the vertical velocity gets set to 0 and you start to fall.

I think if we take a normal of the impact point we can determine either to set the value to 0 or even redirect the force which would be kinda like a bounce I dunno.

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

No branches or pull requests

1 participant