Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- have to hold ess for 2 frames to get 1 frame of ess turn
- turned 1800 units right
- turned 1800 units left
- camera angle = initial angle
- takes 10 frames to completely ess turn right
- 1800 unit change for each of the first 9 frames, 184 unit change for last frame (total of 2^14 units)
- targeting at the end makes camera angle = angle
- ---
- initial angle = -5957
- initial camera angle = -5870
- initial angle - initial camera angle = -5957 - (-5870) = -87
- 1800 for first 9 frames, then 97 for 10th frame (final angle = -22254)
- this is the same as a direct right turn
- while final angle is -22254, targeting gives us a final camera angle of -22244
- final angle - final camera angle = -22254 - (-22244) = -10
- 184 + (-87) = 97
- ---
- (turning right)
- initial angle = -32560
- initial camera angle = -32558
- initial angle - initial camera angle = -32560 - (-32558) = -2
- 1800 for first 9 frames, then 182 for the last frame
- final angle - final camera angle = 16594 - 16592 = 2
- 184 + (-2) = 182
- (if turning left, get -1800 change per frame and then -184 on 10th frame, so turning from left to right is perfect 180 deg turn)
- =====
- The first 9 frames he turns 1800 units per frame and then on the 10th frame he turns 184 + [(initial angle) - (initial camera angle) ] (so if initial angle = initial camera angle, link turns 1800*9 + 184 = 2^14 units)
Add Comment
Please, Sign In to add comment