-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
No fall damage when falling up #8051
Comments
Interesting, low priority but would be nice to be consistent. |
For those who want to look into this, here are some pointers for you: File: Relevant code:
|
paramat wrote at #6123 (comment):
|
Thanks @Wuzzy2. I suppose I could try to fix it, but I have very little C++ skill... Why isn't negative gravity supported? |
Because it's not very useful or usable. |
It'd be useful if you had an item to toggle the sign of gravity so that you can move up faster (but also risking taking fall damage), or an item that inverts gravity while jump is pressed (producing a weird sort of flight). I actually wrote a mod that makes the latter one, which is how I found this bug. Still, I can see why negative gravity is not really that important. |
This makes it unrealistic. Running against a wall should not hurt you but falling from somewhere should. |
Having fall damage when hitting a ceiling makes sense for consistency's sake as nodes with the I would still disable fall damage when hitting walls though. |
A new issue for optional all-direction damage might appear, if it does this issue could perhaps be closed. |
Issue type
Minetest version
Summary
If gravity is inverted, no fall damage occurs when hitting something, even if falling down from that height would induce fall damage.
The text was updated successfully, but these errors were encountered: