upbge icon indicating copy to clipboard operation
upbge copied to clipboard

VERSION 0.43 Aplha camera angle changes

Open Feral3d opened this issue 4 months ago • 3 comments

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.

Feral3d avatar Oct 07 '24 16:10 Feral3d