Skip to content
Snippets Groups Projects
Commit 9056b6e6 authored by Jonathan Ehret's avatar Jonathan Ehret
Browse files

improve usage of FacialExpression and facial animation in combination

parent c17b7335
Branches
No related tags found
No related merge requests found
......@@ -188,6 +188,14 @@ void UVHFaceAnimation::TickComponent(float DeltaTime, ELevelTick TickType,
}
else {
if (bResetFaceAfterFinish) {
//in case this is used together with a FacialExpression
//we have to do this, so that the right data is pulled from the
// FacialExpression component every frame (especially before staring that actual animation)
ResetFace();
}
}
}
bool UVHFaceAnimation::InternalLoadFile(FString FileName)
......
......@@ -114,7 +114,7 @@ protected:
//custom idle animations can be specified t o be used (played in the DefualtSlot)
//CAUTION: this currently does not work together with walking or pointing
UPROPERTY(EditAnywhere)
UPROPERTY(EditAnywhere, BlueprintReadWrite)
TArray<UAnimSequence*> CustomIdleAnimations;
private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment