upbge
upbge copied to clipboard
VERSION 0.43 Aplha camera angle changes
Updating the Camera angle/fov will update the physics objects, but the visuals remain unchanged: for example to update the camera fov slider, you need to run:
self.camera = game_camera new_camera_angle = 17.543
#this only updates the game objects physics in relation to the camera self.camera.lens = new_camera_angle
#this updates the visuals/render of the camera only self.camera.blenderObject.data.lens = new_camera_angle
So in order to correct camera lens fov, for now you need to run BOTH at the same time, individually they only do update the physics and render, respectively.