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

Actor state M_FALLING doesn't switch properly #59

Open
nitrocaster opened this issue Nov 7, 2015 · 10 comments
Open

Actor state M_FALLING doesn't switch properly #59

nitrocaster opened this issue Nov 7, 2015 · 10 comments
Labels
Bug The issue in the run-time. Help wanted Physics Vanilla Bug The original game issue.

Comments

@nitrocaster
Copy link
Member

Falling actor can continue being in falling state under specific conditions.

@nitrocaster nitrocaster added Bug The issue in the run-time. Physics labels Nov 7, 2015
@Xottab-DUTY Xottab-DUTY added the Vanilla Bug The original game issue. label Feb 4, 2019
@jjdredd
Copy link
Contributor

jjdredd commented Dec 26, 2020

How is this reproduced?

@nitrocaster
Copy link
Member Author

  1. Press and hold Ctrl to crouch
  2. Press Space to jump
  3. Release Ctrl before landing
    This bug allows to move around without making any noise as long as you don't fall off a step or something, which will reset M_FALLING to its proper state.

@jjdredd
Copy link
Contributor

jjdredd commented Dec 27, 2020

The sound of landing was there when I tested. There is no sound if I don't release ctrl in step 3.

@Xottab-DUTY
Copy link
Member

The problem is not about the landing sound, the problem is about not making any noise when you move.

@jjdredd
Copy link
Contributor

jjdredd commented Dec 27, 2020

There's still a footstep sound when I walk/run after preforming the described procedure.

@Xottab-DUTY
Copy link
Member

Hmm, what about the noise indicator? (blue bar on the minimap)

@jjdredd
Copy link
Contributor

jjdredd commented Dec 27, 2020

I was able to trigger it but it seems to be very rare. How should I approach fixing this?

@Xottab-DUTY
Copy link
Member

Find the place where bug happens and fix it. ¯_(ツ)_/¯

@jjdredd
Copy link
Contributor

jjdredd commented Dec 27, 2020

Good idea. I'll get to it.

@jjdredd
Copy link
Contributor

jjdredd commented Feb 6, 2021

I'm not sure but it seems that ContactWas() is being called several times a frame
which resets b_meet_control and gives an incorrect result in subsequent calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug The issue in the run-time. Help wanted Physics Vanilla Bug The original game issue.
Projects
Status: To do
Development

No branches or pull requests

3 participants