Open ThomasAunvik opened 7 years ago
Sneak behaviour is changed on Space Stations only.
Intended behaviour:
you can sneak-right-click to place blocks as normal
sneak exits rockets and other vehicles as normal
the player can only visually "crouch" and walk slowly using Sneak, if the player's feet are on something solid so the player is walking
if the player is inside the space station but feet are not on the ground, sneak and jump should move you up and down vertically - this is supposed to simulate the player using his arms pushing against the walls or other handholds to move around in zero gravity (but we didn't make the arms animation for this yet)
if the player is outside the space station and feet are not on the ground, the player is in freefall - will keep moving forever unless something changes - but sneak and jump should give you a small impulse down or up, and W and S should give you a small impulse forwards or backwards, like using a mini-jetpack or thruster
if the player has feet on the ground, pressing jump should make the player first crouch, then do a big jump upwards (depth of crouch and strength of jump depends how long jump was held)
if the player is moving downwards and feet hit a solid block, the player will briefly seem to crouch while his legs absorb the momentum and bring him to a stop - but if the player is moving too fast, he can't absorb all the momentum and so he will "bounce" back up again, at a lower speed
in situations 4 and 5 (feet not on ground), pressing Sneak should not give any crouch animation or view bobbing.
This combination of 1 - 8 above is intended to give the most realistic impression (inside Minecraft!) of being in a zero gravity environment.
I can already tell that you don't enjoy zero gravity, because you suggested a Gravity Generator!
But 1 - 8 are absolutely intended. Please let me know if any of these is not working as described above in your 1.11.2 testing. (I am not currently play testing 1.11.2.) I can't see your gif, unfortunately.
Extra note: players and other entities will also obey correct freefall physics if the space station is spinning - so if outside the space station, the space station will seem to spin away from them. Inside the space station there is centrifugal force unless feet are on the ground. But you need a large spinning station (large radius, like 60+ blocks from the centre of rotation) to feel a noticeable centrifugal force.
Easter Egg:
Also, another issue. There is no freefalling in the spacestation. I keep floating. Holding Shift to descend and holding space to ascend (When you are in mid air).
"Freefall" means zero gravity, indefinite motion according to Newton's First Law.
You are calling it "floating". This is intended behaviour. Like in the movie Gravity
Ok, so about the bug i had while sneaking. Is that an intended behavior? I am wondering if you saw the gif. And when i meant sneaking, i meant the animation.
I can't see your gif, unfortunately.
- the player can only visually "crouch" and walk slowly using Sneak, if the player's feet are on something solid so the player is walking
That is the issue i am having and instead of "crouching" my arms and legs are going crazy.
And is there an issue with my gif? Please tell.
And is there an issue with my gif? Please tell.
Probably it takes a while to load. Let me try a different way (for @radfast): https://i.imgur.com/Pzh7gne.gif
I'm still seeing nothing at imgur, but don't worry ... I can fire up 1.11.2 some time and try to make the problem for myself.
Update: As i have tested it in Build 61 the bug is still there. But something is weird. The bug does not happen in creative mode, only in survival.
Now i made a little video for it: Youtube Video
ok thanks to both, I'm sure this is fixable
I have only tested this on the spacestation as the moon is broken.
Sneaking in the spacestation is broken. You cant really sneak at all. But what happens that the player is bugging a bit.
Here is a gif of it. http://imgur.com/Pzh7gne
Forge Version: 13.20.2279 Galacticraft Core: 4.0.0.58 Galacticraft-Planets: 4.0.0.58 Micdoodlecore: 4.0.0.58