Merge branch 'dev' into Boss-Combat
This commit is contained in:
commit
38591bfcac
BIN
Art Misc/Gun1/Gun.mb
(Stored with Git LFS)
Normal file
BIN
Art Misc/Gun1/Gun.mb
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Art Misc/Gun1/gun_low.fbx
(Stored with Git LFS)
Normal file
BIN
Art Misc/Gun1/gun_low.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Art Misc/Gun1/material_maps/pCylinder9_lowpoly_lambert1_BaseColor.png
(Stored with Git LFS)
Normal file
BIN
Art Misc/Gun1/material_maps/pCylinder9_lowpoly_lambert1_BaseColor.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Art Misc/Gun1/material_maps/pCylinder9_lowpoly_lambert1_Height.png
(Stored with Git LFS)
Normal file
BIN
Art Misc/Gun1/material_maps/pCylinder9_lowpoly_lambert1_Height.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Art Misc/Gun1/material_maps/pCylinder9_lowpoly_lambert1_Metallic.png
(Stored with Git LFS)
Normal file
BIN
Art Misc/Gun1/material_maps/pCylinder9_lowpoly_lambert1_Metallic.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Art Misc/Gun1/material_maps/pCylinder9_lowpoly_lambert1_Normal.png
(Stored with Git LFS)
Normal file
BIN
Art Misc/Gun1/material_maps/pCylinder9_lowpoly_lambert1_Normal.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Art Misc/Gun1/material_maps/pCylinder9_lowpoly_lambert1_Roughness.png
(Stored with Git LFS)
Normal file
BIN
Art Misc/Gun1/material_maps/pCylinder9_lowpoly_lambert1_Roughness.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Assets/Gun/Gun.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Assets/Gun/Gun.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Assets/Gun/GunMaterial.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Assets/Gun/GunMaterial.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Assets/Gun/pCylinder9_lowpoly_lambert1_BaseColor.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Assets/Gun/pCylinder9_lowpoly_lambert1_BaseColor.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Assets/Gun/pCylinder9_lowpoly_lambert1_Height.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Assets/Gun/pCylinder9_lowpoly_lambert1_Height.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Assets/Gun/pCylinder9_lowpoly_lambert1_Metallic.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Assets/Gun/pCylinder9_lowpoly_lambert1_Metallic.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Assets/Gun/pCylinder9_lowpoly_lambert1_Normal.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Assets/Gun/pCylinder9_lowpoly_lambert1_Normal.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Assets/Gun/pCylinder9_lowpoly_lambert1_Roughness.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Assets/Gun/pCylinder9_lowpoly_lambert1_Roughness.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Assets/Objects/pendant/collar.uasset
(Stored with Git LFS)
BIN
Content/Assets/Objects/pendant/collar.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Assets/Objects/pendant/pendant.uasset
(Stored with Git LFS)
BIN
Content/Assets/Objects/pendant/pendant.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Blueprints/Combat_UI/CombatCharacter.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Combat_UI/CombatCharacter.uasset
(Stored with Git LFS)
Binary file not shown.
@ -70,7 +70,7 @@ void UHoldToInitCombat::OnClickDown()
|
|||||||
{
|
{
|
||||||
const AActor* PlayerActor = GetWorld()->GetFirstPlayerController()->GetPawn();
|
const AActor* PlayerActor = GetWorld()->GetFirstPlayerController()->GetPawn();
|
||||||
const UStaticMeshComponent* GunComponent = Cast<UStaticMeshComponent>(PlayerActor->GetComponentsByTag(UPrimitiveComponent::StaticClass(), FName("Gun"))[0]);
|
const UStaticMeshComponent* GunComponent = Cast<UStaticMeshComponent>(PlayerActor->GetComponentsByTag(UPrimitiveComponent::StaticClass(), FName("Gun"))[0]);
|
||||||
const FVector GunLocationOffset = GunComponent->GetSocketTransform("Muzzle").TransformPosition(FVector(-100, 0, 0));
|
const FVector GunLocationOffset = GunComponent->GetSocketTransform("Muzzle").GetLocation();
|
||||||
UNiagaraFunctionLibrary::SpawnSystemAtLocation(GetWorld(), GunEffect, GunLocationOffset, PlayerActor->GetActorRotation());
|
UNiagaraFunctionLibrary::SpawnSystemAtLocation(GetWorld(), GunEffect, GunLocationOffset, PlayerActor->GetActorRotation());
|
||||||
FOutputDeviceNull AR;
|
FOutputDeviceNull AR;
|
||||||
const FString Command = FString::Printf(TEXT("PlayCameraShakeShoot"));
|
const FString Command = FString::Printf(TEXT("PlayCameraShakeShoot"));
|
||||||
|
@ -272,7 +272,7 @@ void ATurnBaseCombatV2::ExecuteCast(FString Combo)
|
|||||||
if (GunEffect)
|
if (GunEffect)
|
||||||
{
|
{
|
||||||
const UStaticMeshComponent* GunComponent = Cast<UStaticMeshComponent>(PlayerActor->GetComponentsByTag(UPrimitiveComponent::StaticClass(), FName("Gun"))[0]);
|
const UStaticMeshComponent* GunComponent = Cast<UStaticMeshComponent>(PlayerActor->GetComponentsByTag(UPrimitiveComponent::StaticClass(), FName("Gun"))[0]);
|
||||||
const FVector GunLocationOffset = GunComponent->GetSocketTransform("Muzzle").TransformPosition(FVector(-100, 0, 0));
|
const FVector GunLocationOffset = GunComponent->GetSocketTransform("Muzzle").GetLocation();
|
||||||
UNiagaraFunctionLibrary::SpawnSystemAtLocation(GetWorld(), GunEffect, GunLocationOffset, PlayerActor->GetActorRotation());
|
UNiagaraFunctionLibrary::SpawnSystemAtLocation(GetWorld(), GunEffect, GunLocationOffset, PlayerActor->GetActorRotation());
|
||||||
FOutputDeviceNull AR;
|
FOutputDeviceNull AR;
|
||||||
const FString Command = FString::Printf(TEXT("PlayCameraShakeShoot"));
|
const FString Command = FString::Printf(TEXT("PlayCameraShakeShoot"));
|
||||||
|
Loading…
Reference in New Issue
Block a user