[2.6.9] Going to a tank's second seat yields inconsistent results

Discussion in 'Bug Reports' started by D.D.D. Destroyer, Jul 27, 2015.

  1. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,506
    Likes Received:
    111
    Trophy Points:
    0
    D.D.D. Destroyer: get yourself a tank
    D.D.D. Destroyer: turn the turret a bit
    D.D.D. Destroyer: and hop into 2nd seat
    D.D.D. Destroyer: go back to 1st seat
    D.D.D. Destroyer: rinse repeat
    yes: what happens?
    D.D.D. Destroyer: the way you're looking keeps being vastly different and not very intuitively changing
    D.D.D. Destroyer: like if the turret points straight
    D.D.D. Destroyer: you go into 2nd seat looking to the right
    D.D.D. Destroyer: but turn turret
    D.D.D. Destroyer: actuallyi turned turret 90 degrees right and i'm looking back
    D.D.D. Destroyer: sec
    yes: lol
    D.D.D. Destroyer: but turn turret 180 degrees and pop into 2nd seat
    D.D.D. Destroyer: you're looking right
    D.D.D. Destroyer: turn turret 90 fdegrees left you look left
    D.D.D. Destroyer: and when you turn by smaller amount it gets crazy
    yes: sounds like someone fucked up their vector math :D

    D.D.D. Destroyer: REPORTING
     
  2. Candles

    Candles CAPTAIN CANDLES, DUN DUN DUN, DUN DUN DUN DUN.

    Messages:
    4,251
    Likes Received:
    10
    Trophy Points:
    0
    It's very easy to explain. If you rotate the turret so it's facing left, you don't turn when you go to the second seat. If you then rotate it 90 degrees to the right, you end up facing 180 degrees, pointing towards the right side of the tank. If you turn the turret 180 degrees so it points to the right, then you turn 360 degrees from the left and end up pointing towards the left of the tank.

    In other words, you rotate twice the amount the turret does from the left side. Turret rotates 90, you go 180; it goes 180, you go 360 -> 0; it goes 270, you go 540 -> 180; it goes 360, you go 720 -> 0.

    Why this is, I have no idea.
     
  3. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,506
    Likes Received:
    111
    Trophy Points:
    0
    This makes sense for cases with a different rotation degree (between the "round" values)
     
    Last edited: Oct 22, 2015

Share This Page