Fix LeftStick movement StarClientApplication.cpp
It no longer has that drift. The drift is caused by the controller, and this simply turns up the threshold of where the game actually accepts the input as a movement.
This commit is contained in:
parent
6321a7d75d
commit
8f0c327ffa
@ -972,9 +972,9 @@ void ClientApplication::updateRunning(float dt) {
|
|||||||
config->set("zoomLevel", newZoom);
|
config->set("zoomLevel", newZoom);
|
||||||
}
|
}
|
||||||
|
|
||||||
//if (m_controllerLeftStick.magnitudeSquared() > 0.001f)
|
if (m_controllerLeftStick.magnitudeSquared() > 0.01f)
|
||||||
// m_player->setMoveVector(m_controllerLeftStick);
|
m_player->setMoveVector(m_controllerLeftStick);
|
||||||
//else
|
else
|
||||||
m_player->setMoveVector(Vec2F());
|
m_player->setMoveVector(Vec2F());
|
||||||
|
|
||||||
m_voice->setInput(m_input->bindHeld("opensb", "pushToTalk"));
|
m_voice->setInput(m_input->bindHeld("opensb", "pushToTalk"));
|
||||||
|
Loading…
Reference in New Issue
Block a user