Skip to content
Snippets Groups Projects
Commit abee3805 authored by Jonathan Wendt's avatar Jonathan Wendt
Browse files

activate flying on the desktop even in non-flying mode

parent c4e230d6
No related branches found
No related tags found
No related merge requests found
......@@ -39,14 +39,14 @@ AVirtualRealityPawn::AVirtualRealityPawn(const FObjectInitializer& ObjectInitial
void AVirtualRealityPawn::OnForward_Implementation (float Value)
{
if (NavigationMode == EVRNavigationModes::NAV_MODE_FLY)
if (NavigationMode == EVRNavigationModes::NAV_MODE_FLY || IDisplayCluster::Get().GetClusterMgr()->IsStandalone())
{
AddMovementInput(Forward->GetForwardVector(), Value);
}
}
void AVirtualRealityPawn::OnRight_Implementation(float Value)
{
if (NavigationMode == EVRNavigationModes::NAV_MODE_FLY)
if (NavigationMode == EVRNavigationModes::NAV_MODE_FLY || IDisplayCluster::Get().GetClusterMgr()->IsStandalone())
{
AddMovementInput(Forward->GetRightVector(), Value);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment