Author Topic: Please have mercy upon the damned  (Read 1225 times)

0 Members and 1 Guest are viewing this topic.

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Please have mercy upon the damned
What is the formula for translating player pitch/bank/heading (PBH) into background editor PBH?

 

Offline z64555

  • 210
  • Self-proclaimed controls expert
    • Minecraft
    • Steam
Re: Please have mercy upon the damned
Pitch is positive. 0 through 360 degrees rotates upward
Bank is positive (rotates graphic clockwise about its center)
Heading is... negative? Positive values rotate it towards the left.

Degrees to Radians = (degrees) * (pi / 180)
Radians to Degrees = (radians) * (180 / pi)
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Please have mercy upon the damned
Okay, cool.

If I have a set of player PBH values measured in-game (where the player's nose is pointing), how can I translate those into background PBH values?

 

Offline z64555

  • 210
  • Self-proclaimed controls expert
    • Minecraft
    • Steam
Re: Please have mercy upon the damned
Okay, cool.

If I have a set of player PBH values measured in-game (where the player's nose is pointing), how can I translate those into background PBH values?

If the player's angles are in degrees, P would be equal, H would be equal and negative, and B would be equal. I haven't found a direct correlation between the angles yet, so I'm pretty much shooting blind here.
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.