cubos::engine::FreeCameraController struct

Component which moves the camera.

Public variables

bool enabled
Whether the controller is enabled. Mouse is only captured when enabled.
bool unscaledDeltaTime
Whether the controller uses unscaled delta time.
std::string lateral
Action used to move the camera laterally (positive is right).
std::string vertical
Action used to move the camera vertically (positive is up).
std::string longitudinal
Action used to move the camera longitudinally (positive is forward).
float speed
Speed at which the camera moves.
float sens
Sensitivity of the camera rotation, i.e,, how fast the camera rotates.
float phi
Inclination of the camera.
float theta
Azimuth of the camera.