feat(Handling/transmission): Added steering lock
This commit is contained in:
parent
7585536f8c
commit
5314ab3077
@ -1,4 +1,5 @@
|
|||||||
#include "gui/tab_bar.hpp"
|
#include "gui/tab_bar.hpp"
|
||||||
|
#include "features/functions.hpp"
|
||||||
|
|
||||||
namespace big
|
namespace big
|
||||||
{
|
{
|
||||||
@ -14,6 +15,9 @@ namespace big
|
|||||||
if (ImGui::SliderFloat("##drive_bias_front", &fDriveBiasFront, 0.f, 1.0f))
|
if (ImGui::SliderFloat("##drive_bias_front", &fDriveBiasFront, 0.f, 1.0f))
|
||||||
g_vehicle->m_handling->m_drive_bias_front = fDriveBiasFront * 2;
|
g_vehicle->m_handling->m_drive_bias_front = fDriveBiasFront * 2;
|
||||||
|
|
||||||
|
ImGui::Text("Steering Lock (degrees)");
|
||||||
|
ImGui::SliderAngle("##steering lock", &g_vehicle->m_handling->m_steering_lock, 0.f, 90.f);
|
||||||
|
|
||||||
ImGui::Text("Gears");
|
ImGui::Text("Gears");
|
||||||
int nInitialDriveGears = g_vehicle->m_handling->m_initial_drive_gears;
|
int nInitialDriveGears = g_vehicle->m_handling->m_initial_drive_gears;
|
||||||
if (ImGui::SliderInt("##initial_gears", &nInitialDriveGears, 1, 12))
|
if (ImGui::SliderInt("##initial_gears", &nInitialDriveGears, 1, 12))
|
||||||
|
Reference in New Issue
Block a user