Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Magnetar Magnetic Field

Discussion in 'Nemract's Bar' started by Moe_Ronickah, Apr 1, 2017.

Thread Status:
Not open for further replies.
  1. Moe_Ronickah

    Moe_Ronickah Traveling through hyperspace . . .. CHAMPION

    Messages:
    3,976
    Likes Received:
    7,665
    Trophy Points:
    215
    Guild:
    Minecraft:
    I did it myself, after thinking about it for awhile.
     
  2. sorae

    sorae drifting VIP

    Messages:
    3,267
    Likes Received:
    5,209
    Trophy Points:
    215
    Guild:
    Minecraft:
    We don't need to know where Magnetars get their magnetic energy from. The real question - how do we bypass a Magnetar's magnetic field?

    Well, in order to do so, we need to build up speed for 12 hours.
    Now, you're probably what I'm going to need all this speed for. After all, I do build up speed for 12 hours.

    But to answer that, we need to talk about parallel universes. And if you thought my other tangents were complicated, just you wait.

    Okay, so @Moe_Ronickah's position is a floating point number, but it's converted into a short when the game uses it to test for collision with floor triangles. In other words, @Moe_Ronickah's position can be any number, but it's converted to an integer between -32,768 and 32,767 inclusive. So, any fractional portion is truncated and numbers too big or too small are moved into this range using a modulo operator. Graphically, that means that the position used for floor detection is always inside of this box. (the box) So if @Moe_Ronickah's in that box, then his actual position and the position used for floor detection are the same. Albeit, maybe off by a single fraction due to the truncation.

    If @Moe_Ronickah is outside of that box, then his position and the position used for floor detection will separate, since the position for floor detection will just loop around to remain in that box.

    So I ask you: If @Moe_Ronickah is way out there, but the position used for floor detection is still in the box, can he still stand? The answer is yes. As far as the game sees it, @Moe_Ronickah is in fact above land out here, because the game checks for floor detection back over there. ["There" is the actual course.] So for all intensive purposes there is land over here! This is known as a parallel universe, or a PU for short.
     
    Moe_Ronickah and Nukewarmachine like this.
Thread Status:
Not open for further replies.