Author Topic: how dose the method : Camera.setPosition() work  (Read 2686 times)

Offline fooyou

  • byte
  • *
  • Posts: 8
    • View Profile
how dose the method : Camera.setPosition() work
« on: June 20, 2013, 03:34:04 am »
Hello ! everyone ! I have a question to consult U. I dont know how dose the method : Camera.setPosition() work .
could U tell me the work principium of the this method . Is the position according to origin in the  world space .or is it pile up ? if I call the   Camera.setPosition()  with a different vector coordinate  second times  or more . help !thanks!

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: how dose the method : Camera.setPosition() work
« Reply #1 on: June 20, 2013, 07:18:32 am »
It's not cumulative, if that's what you mean. Each time you set a position, the camera will be located at exactly that position in world space. Former positions don't matter here.

Offline fooyou

  • byte
  • *
  • Posts: 8
    • View Profile
Re: how dose the method : Camera.setPosition() work
« Reply #2 on: June 24, 2013, 03:39:56 am »
thank you for  reply  !EgonOlsen! I will test again!