micdoodle8 / Galacticraft

An advanced Space Dimension Mod for Minecraft
Other
617 stars 334 forks source link

[1.11.2] Limbswing while crouching and moving in the spacestation #2533

Open ThomasAunvik opened 7 years ago

ThomasAunvik commented 7 years ago

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

radfast commented 7 years ago

Sneak behaviour is changed on Space Stations only.

Intended behaviour:

  1. you can sneak-right-click to place blocks as normal

  2. sneak exits rockets and other vehicles as normal

  3. 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

  4. 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)

  5. 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

  6. 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)

  7. 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

  8. 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.

radfast commented 7 years ago

Easter Egg:

  1. Spawn an Evolved Zombie or Evolved Skeleton, push it off the space station, and it will tumble away in freefall...
ThomasAunvik commented 7 years ago

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).

radfast commented 7 years ago

"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

ThomasAunvik commented 7 years ago

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.

radfast commented 7 years ago

I can't see your gif, unfortunately.

ThomasAunvik commented 7 years ago
  1. 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.

EzerArch commented 7 years ago

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

radfast commented 7 years ago

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.

dj3520 commented 7 years ago

@radfast http://net.dj3520.net:8000/servitup/Pzh7gne.gif

ThomasAunvik commented 7 years ago

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

radfast commented 7 years ago

ok thanks to both, I'm sure this is fixable