www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: fooyou on June 20, 2013, 03:34:04 am

Title: how dose the method : Camera.setPosition() work
Post by: fooyou 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!
Title: Re: how dose the method : Camera.setPosition() work
Post by: EgonOlsen 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.
Title: Re: how dose the method : Camera.setPosition() work
Post by: fooyou on June 24, 2013, 03:39:56 am
thank you for  reply  !EgonOlsen! I will test again!