11 Matching Annotations
  1. Oct 2022
    1. Within void Update(), write an If Statement: If our X movement is NOT 0, or our Y movement is NOT 0 (in other words, if we are moving), then measure the player's X and Z movement values and make that "facing." (Lines 24-28)

      ? Make it facing?

    1. A question people often ask is, why are we setting our Rigidbody's Z velocity to be 0, while the Y is set to "rb.velocity.y?"Although we aren't moving the player by its Y axis, we still want to be able to move on this axis. What do we mean by that?When we jump, we go up. When we fall, we go down. If we set our Rigidbody's Y velocity to be 0, we won't have natural gravity.

      ^ Keeping the Rigidbody's y velocity for jumping and falling

  2. Jun 2019

    Tags

    Annotators

  3. Nov 2018