FransBouma / InjectableGenericCameraSystem

This is a generic camera system to be used as the base for cameras for taking screenshots within games. The main purpose of the system is to hijack the in-game 3D camera by overwriting values in its camera structure with our own values so we can control where the camera is located, it's pitch/yaw/roll values, its FoV and the camera's look vector.
BSD 2-Clause "Simplified" License
718 stars 249 forks source link

All cameras: Make it possible to select camera control device (and auto-block it) #27

Closed FransBouma closed 6 years ago

FransBouma commented 7 years ago

Currently KB/M and controller are always selected for camera control. However, if the user wants to record a video this isn't useful: KB/M should be player and Controller for camera or vice versa.

By default 'All' devices are selected. The user should be able to cycle through the devices by using a key, e.g. Numpad . When that key is pressed, the next device in line is selected.

It then also should auto-block input from that device to the game, as why would you not want to block input to the game if that device is selected?

So numpad . can be used for that. We can either use: Numpad. + Alt/Ctrl or use multiple presses of Numpad. to select the device. The Alt/Ctrl combination looks easier.

FransBouma commented 6 years ago

Implemented in newest cameras