From 47b7512af7a5f3ed246f426b95b7fdbb7b9ea5b7 Mon Sep 17 00:00:00 2001 From: nsubiron Date: Thu, 6 Apr 2017 18:53:53 +0200 Subject: [PATCH] Scene camera inherit yaw --- Source/Carla/Game/CarlaVehicleController.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Carla/Game/CarlaVehicleController.cpp b/Source/Carla/Game/CarlaVehicleController.cpp index 3b3bc719f..f1c495f3b 100644 --- a/Source/Carla/Game/CarlaVehicleController.cpp +++ b/Source/Carla/Game/CarlaVehicleController.cpp @@ -30,6 +30,7 @@ ACarlaVehicleController::ACarlaVehicleController() : SpringArm->CameraRotationLagSpeed = 7.f; SpringArm->bInheritPitch = false; SpringArm->bInheritRoll = false; + SpringArm->bInheritYaw = true; // Do not collide, may clip into level. SpringArm->bDoCollisionTest = false;