Set oculus speed to 36 (x3) in DevTools
Default oculus orb speed is hardly useable when trying to explore something so this will set it to more reasonable default. Depends on !9 Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -228,7 +228,9 @@ public class DevToolsPanel extends PluginPanel
|
||||
oculusOrbBtn.addActionListener(e ->
|
||||
{
|
||||
highlightButton(oculusOrbBtn);
|
||||
client.setOculusOrbState(oculusOrbBtn.getBackground().equals(Color.GREEN) ? 1 : 0);
|
||||
boolean enabled = oculusOrbBtn.getBackground().equals(Color.GREEN);
|
||||
client.setOculusOrbState(enabled ? 1 : 0);
|
||||
client.setOculusOrbNormalSpeed(enabled ? 36 : 12);
|
||||
});
|
||||
container.add(oculusOrbBtn);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user