Skip to content
Snippets Groups Projects
Commit d3790522 authored by Ali Can Demiralp's avatar Ali Can Demiralp
Browse files

Updated from VR-Group/turbulent_flow.

parent 10293178
No related branches found
No related tags found
No related merge requests found
......@@ -133,6 +133,10 @@ void ADisplayClusterPawnBase::Tick (float Delt
const float Mult = GetWorld()->GetWorldSettings()->WorldToMeters / 100.f;
SetActorScale3D(FVector(Mult, Mult, Mult));
}
void ADisplayClusterPawnBase::BeginDestroy()
{
Super::BeginDestroy();
}
UPawnMovementComponent* ADisplayClusterPawnBase::GetMovementComponent() const
{
return MovementComponent;
......
......@@ -20,6 +20,10 @@ void ADisplayClusterPawnCAVE::OnButtonEvent_Implementation (bool Pressed
}
void ADisplayClusterPawnCAVE::BeginPlay ()
{
Super::BeginPlay();
}
void ADisplayClusterPawnCAVE::Tick (float DeltaSeconds)
{
// Due to these declarations, this class is bound to aixcave.cfg.
......@@ -52,3 +56,7 @@ void ADisplayClusterPawnCAVE::Tick (float DeltaSecon
if (ButtonReleased) OnButtonEvent_Implementation(false, i);
}
}
void ADisplayClusterPawnCAVE::BeginDestroy ()
{
Super::BeginDestroy();
}
\ No newline at end of file
......@@ -24,6 +24,7 @@ public:
virtual void BeginPlay () override;
virtual void Tick (float DeltaSeconds) override;
virtual void BeginDestroy () override;
virtual UPawnMovementComponent* GetMovementComponent() const override;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Pawn") float BaseTurnRate ;
......
......@@ -17,7 +17,9 @@ public:
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Input") void OnTriggerEvent(bool Pressed);
protected:
virtual void BeginPlay () override;
virtual void Tick (float DeltaSeconds) override;
virtual void BeginDestroy() override;
UDisplayClusterSceneComponent* Flystick = nullptr;
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment