Pitch Conservation & Yaw Velocity Conservation

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ก.ย. 2016
  • I explain all about the pitch variable and the yaw velocity variable, as well as how to conserve them between states.
    Yaw, pitch, and roll are three angles that every object in SM64 has. Additionally, Mario has separate versions of these variables in the Mario struct, which is what this video focuses on. Yaw is the typical angle we use for the direction Mario's facing. Mario also has a yaw velocity variable, and this is only used in certain situations. Pitch is how much Mario's leaning forwards or backwards, and this is only used in certain situations. Roll is how much Mario's leaning left or right, and this is only used in certain situations. However, I haven't found any situations where roll plays an important role. Instead, it usually seems to just be calculated every frame based off of yaw velocity, and so the value of roll plays no role.
    In the video, I show all the states I found that affect pitch and yaw velocity. So this isn't necessarily every state in the game that affects them, but just the ones that I was able to find after a pretty thorough search. Additionally, the ways of entering and exiting these states on the conservation tables are not exhaustive. Indeed, there are many other obscure transitions in the game that I didn't include. Instead, I filled the tables with the transitions that were the most common and useful.
    Thanks to Kaze for making the ROM hack that allowed me to show pitch and yaw velocity. If you want to download this ROM hack (or any other ROM hack I've used), go here: drive.google.com/open?id=0B3J...
    Additional Notes
    (1) There's actually a 3rd variable that affects flying, much like pitch and yaw velocity. I call it "pull back", and it increases as you pull back on the controller, and decreases as you hold forwards on the controller. It too can be conserved between flights. Thus, two flights that begin with the same pitch and yaw velocity can still differ if they start with different pull backs.
    (2) The addresses of the variables are as follows:
    pitch: short at 0x00C26C1E
    yaw velocity: short at 0x00C26C26
    pull back: short at 0x00C26C20
    (3) Many have asked if we could use pitch conservation to have Mario dive into a star that's too high up for a normal dive to reach. However, this can't happen. Diving with a non-zero pitch does not alter the initial vertical speed of the dive, nor does it change Mario's hitbox as far as star collecting goes.
    (4) The flying that Mario does after collecting the grand star does not actually make use of the pitch and yaw velocity variables, even though normal flying does. Thus, we cannot use conservation of those variables to alter that flight's path.

ความคิดเห็น • 379

  • @plushifoxed
    @plushifoxed 7 ปีที่แล้ว +431

    the moral of the story is that mario is an airplane

  • @NewTungsten
    @NewTungsten 7 ปีที่แล้ว +312

    Yaw, Pitch & Roll sound like it could be a mission in SM64.

  • @YTSunnys
    @YTSunnys 7 ปีที่แล้ว +245

    Mom: Stop watching TH-cam and go study!

  • @PlushSM64
    @PlushSM64 7 ปีที่แล้ว +286

    Perfect games don't exi-

  • @AtlasOmegaAlpha
    @AtlasOmegaAlpha 7 ปีที่แล้ว +122

    Mario is the new roflcopter

  • @accursedcursive4935
    @accursedcursive4935 7 ปีที่แล้ว +76

    It would have been hilarious if you cheated to get a high yaw velocity for Bowser.

  • @Seth_M-T
    @Seth_M-T 7 ปีที่แล้ว +43

    This explains so much!! Now I know why the wing cap is always so unpredictable! Thank you!

  • @mathphysicsnerd
    @mathphysicsnerd 7 ปีที่แล้ว +63

    For some reason the "boing!' slowed down made me giggle.

  • @0002pA
    @0002pA 7 ปีที่แล้ว +129

    Did you know?

  • @SpikeOriundo
    @SpikeOriundo 7 ปีที่แล้ว +92

    Breakdancing is easy.

  • @TheVercci
    @TheVercci 7 ปีที่แล้ว +79

    If you use hacks to set your yaw velocity to some much larger number while spinning bowser, does the game handle it? Like spinning faster, throwing bowser further, or does it just set it back to 4096 every frame.

  • @curlybrace4984
    @curlybrace4984 5 ปีที่แล้ว +7

    7:18

  • @TheRat900
    @TheRat900 7 ปีที่แล้ว +219

    mario's just an "object" to you, huh?

  • @HeidiSprite
    @HeidiSprite 7 ปีที่แล้ว +68

    I've been curious about this for a while, but what is that image you're using when you explain stuff in diagrams? Is it just a random stock image? Is it something that's been heavily blurred? It's so mesmerizing...

  • @gigitrix
    @gigitrix 7 ปีที่แล้ว +17

    The second flight of wing cap preserving pitch thing is really interesting, pretty sure we all experienced that sometimes and chalked it up to "weirdness" as players

  • @NitsuaGamer
    @NitsuaGamer 7 ปีที่แล้ว +4

    Messing with the Yaw Velocity for Mario's Wing Cap is so damn cool!

  • @theclashingcrafter5354
    @theclashingcrafter5354 7 ปีที่แล้ว +5

    came for super mario 64

  • @fighterman4812
    @fighterman4812 7 ปีที่แล้ว +8

    Pannenkeok uploads a video, and you have no idea what the title means.

  • @PikminRule
    @PikminRule 7 ปีที่แล้ว +30

    this is the first ever recorded instance of someone dying to a goomba in sm64

  • @L3X1N
    @L3X1N 7 ปีที่แล้ว +2

    12:25