Author Topic: How to get current camera rotation  (Read 2170 times)

Offline milter

  • byte
  • *
  • Posts: 2
    • View Profile
How to get current camera rotation
« on: February 03, 2014, 08:38:55 pm »
Hi guys

How can i get the current camera rotation of any axis?

Thx

Milter

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: How to get current camera rotation
« Reply #1 on: February 03, 2014, 08:48:16 pm »

Offline milter

  • byte
  • *
  • Posts: 2
    • View Profile
Re: How to get current camera rotation
« Reply #2 on: February 04, 2014, 11:42:42 am »
I see, but how do i get the rotation matrix of the camera?

Thank you

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: How to get current camera rotation
« Reply #3 on: February 04, 2014, 02:30:48 pm »
Code: [Select]
camera.getBack();