Merge branch 'WeaponSystem' into BackupBuild
This commit is contained in:
commit
f641053ce9
@ -106,6 +106,7 @@ void ABaseWeaponClass::ApplyRecoil(float DeltaTime)
|
||||
playerInWorld->AddControllerPitchInput(GetRecoilPitch(amplitude, recoilTime));
|
||||
currentPitch += GetRecoilPitch(amplitude,recoilTime);
|
||||
}
|
||||
playerInWorld->AddControllerPitchInput(FMath::RandRange(-5 * DeltaTime, 5* DeltaTime));
|
||||
GunStartArrow->AddRelativeRotation(FRotator(-GetRecoilPitch(amplitude, recoilTime), 0, 0));
|
||||
playerInWorld->AddControllerYawInput(GetRecoilYaw(amplitude, recoilTime));
|
||||
UpdateSamples(amplitude, recoilTime);
|
||||
|
Loading…
Reference in New Issue
Block a user