Skip to content
Snippets Groups Projects
Commit 8c8c4aa8 authored by Jan-Nikjas Hartmann's avatar Jan-Nikjas Hartmann
Browse files

Added new (partly empty) functions needed in the MA_Dasbach_Bystander

parent d09e3b10
Branches
No related tags found
No related merge requests found
...@@ -78,3 +78,29 @@ void UVHListenerBackchannels::StartNod() ...@@ -78,3 +78,29 @@ void UVHListenerBackchannels::StartNod()
NoddingTime = 0.0f; NoddingTime = 0.0f;
} }
void UVHListenerBackchannels::StartXNods(int nodCount)
{
if (bNodding)
{
return;
}
ActualNodAmplitude = RandomStream.FRandRange(0.5f * NodAmplitude, 1.5f * NodAmplitude);
ActualNodDuration = RandomStream.FRandRange(0.5f * NodDuration, 1.5f * NodDuration);
ActualNodLength = (nodCount * ActualNodDuration);
bNodding = true;
NoddingTime = 0.0f;
}
void PlayVocalization()
{
return;
}
void PlaySmile(float ActualSmileLengt)
{
return;
}
...@@ -22,6 +22,13 @@ public: ...@@ -22,6 +22,13 @@ public:
UFUNCTION(BlueprintCallable) UFUNCTION(BlueprintCallable)
void StartNod(); void StartNod();
UFUNCTION(BlueprintCallable)
void StartXNods(int nodCount);
UFUNCTION(BlueprintCallable)
void PlayVocalization();
UFUNCTION(BlueprintCallable)
void PlaySmile(float ActualSmileLengt);
protected: protected:
virtual void BeginPlay() override; virtual void BeginPlay() override;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment