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

OnLandEvent() Triggers Prematurely #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

OnLandEvent() Triggers Prematurely #3

wants to merge 1 commit into from

Commits on Feb 14, 2019

  1. OnLandEvent() Triggers Prematurely

    By leaving the line `m_Grounded = false;` in the statement `if (m_Grounded && jump)` it will cause in some cases for the `OnLandEvent()` to be triggered prematurely. This is because when `m_Grounded = false;` it will cause `wasGrounded` to be equal to false and therefore trigger the `OnLandEvent()` when `m_Grounded = false;` and therefore `wasGrounded` should actually equal true because it **_was_** grounded previously.
    tyirvine committed Feb 14, 2019
    Configuration menu
    Copy the full SHA
    dd6be12 View commit details
    Browse the repository at this point in the history