Merge New Animations #2
BIN
Content/AnimStarterPack/UE4ASP_HeroTPP_AnimBlueprint.uasset (Stored with Git LFS)
BIN
Content/AnimStarterPack/UE4ASP_HeroTPP_AnimBlueprint.uasset (Stored with Git LFS)
Binary file not shown.
|
@ -299,6 +299,8 @@ void APlayerCharacter::SetSprintingCallback(const FInputActionInstance& Instance
|
|||
{
|
||||
cmc->EnableSprint();
|
||||
}
|
||||
|
||||
IsSprinting = true;
|
||||
}
|
||||
|
||||
void APlayerCharacter::SetWalkingCallback(const FInputActionInstance& Instance)
|
||||
|
@ -307,6 +309,8 @@ void APlayerCharacter::SetWalkingCallback(const FInputActionInstance& Instance)
|
|||
{
|
||||
cmc->DisableSprint();
|
||||
}
|
||||
|
||||
IsSprinting = false;
|
||||
}
|
||||
|
||||
void APlayerCharacter::CalculateHits(TArray<FHitResult>* hits)
|
||||
|
|
|
@ -121,6 +121,7 @@ private:
|
|||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Meta = (AllowPrivateAccess = "true"))
|
||||
UAIPerceptionStimuliSourceComponent* PerceptionSource;
|
||||
|
||||
UPROPERTY(BlueprintReadOnly, Meta = (AllowPrivateAccess = "true"))
|
||||
bool IsSprinting = false;
|
||||
|
||||
bool IsADS = false;
|
||||
|
|
Loading…
Reference in New Issue