Dosis Posted May 2, 2016 Posted May 2, 2016 Hello, How can i set the camera via the LoSetCameraPosition() Lua command? Currently i am getting the Camera Position/Orientation in the LuaAfterNextFrame() function in the export.lua. local CameraPosition CameraPosition = LoGetCameraPosition() log_file:write(CameraPosition.x.x) This writes the correct x rotation of the camera. If i try now to set the camera it does not change orientation. CameraPosition.x.x = 0 LoSetCameraPosition(CameraPosition) Any help? Thanks in advance!
Recommended Posts