You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Input handling issue:
Whereas input handling won't have anything to do with updating its position (at least not directly). Rather, it can update the member variable for speed (and/or acceleration) - OR, update flags for something like a bool m_isMovingLeft; - which might be better since we don't want them to actually start moving left if that flag is true, but some other bool isTouchingGround; is false due to being in midair (or, we could alter their speed by a reduced amount if in midair). But we'd add checks for those in tick(dt) when deciding if the players speed (and/or acceleration) should actually get altered.
The text was updated successfully, but these errors were encountered:
Input handling issue:
Whereas input handling won't have anything to do with updating its position (at least not directly). Rather, it can update the member variable for speed (and/or acceleration) - OR, update flags for something like a bool m_isMovingLeft; - which might be better since we don't want them to actually start moving left if that flag is true, but some other bool isTouchingGround; is false due to being in midair (or, we could alter their speed by a reduced amount if in midair). But we'd add checks for those in tick(dt) when deciding if the players speed (and/or acceleration) should actually get altered.
The text was updated successfully, but these errors were encountered: