Jump to content

Way of determining camera position relative to player?


Asterra

Recommended Posts

In-game, you can rotate the camera around and change how far behind the player character it hovers. In 1st-person, ostensibly it shares x y z coordinates with the player character, or near enough.

 

What I'm after is a way of knowing where the camera is in 3d space. But the only thing I have found which even touches upon the matter of camera position is IsPC1stPerson, and unfortunately even this function is unreliable because the flag doesn't actually change until the _transition_ to 3rd person is complete.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...