Merge New Animations #2
BIN
Content/AnimStarterPack/ABP_Manequin.uasset (Stored with Git LFS)
BIN
Content/AnimStarterPack/ABP_Manequin.uasset (Stored with Git LFS)
Binary file not shown.
BIN
Content/AnimStarterPack/dash_Montage.uasset (Stored with Git LFS)
BIN
Content/AnimStarterPack/dash_Montage.uasset (Stored with Git LFS)
Binary file not shown.
BIN
Content/Player/PlayerCharacter.uasset (Stored with Git LFS)
BIN
Content/Player/PlayerCharacter.uasset (Stored with Git LFS)
Binary file not shown.
|
@ -384,6 +384,8 @@ void UNakatomiCMC::PerformDash()
|
||||||
FQuat NewRotation = FRotationMatrix::MakeFromXZ(DashDirection, FVector::UpVector).ToQuat();
|
FQuat NewRotation = FRotationMatrix::MakeFromXZ(DashDirection, FVector::UpVector).ToQuat();
|
||||||
FHitResult Hit;
|
FHitResult Hit;
|
||||||
SafeMoveUpdatedComponent(FVector::ZeroVector, NewRotation, false, Hit);
|
SafeMoveUpdatedComponent(FVector::ZeroVector, NewRotation, false, Hit);
|
||||||
|
|
||||||
|
NakatomiCharacterOwner->PlayAnimMontage(Dash_Montage);
|
||||||
|
|
||||||
SetMovementMode(MOVE_Falling);
|
SetMovementMode(MOVE_Falling);
|
||||||
|
|
||||||
|
|
|
@ -94,6 +94,9 @@ class NAKATOMI_API UNakatomiCMC : public UCharacterMovementComponent
|
||||||
UPROPERTY(EditDefaultsOnly)
|
UPROPERTY(EditDefaultsOnly)
|
||||||
float Dash_CooldownDuration = 1.0f;
|
float Dash_CooldownDuration = 1.0f;
|
||||||
|
|
||||||
|
UPROPERTY(EditDefaultsOnly)
|
||||||
|
UAnimMontage* Dash_Montage;
|
||||||
|
|
||||||
bool Safe_bWantsToSprint;
|
bool Safe_bWantsToSprint;
|
||||||
bool Safe_bWantsToSlide;
|
bool Safe_bWantsToSlide;
|
||||||
bool Safe_bWantsToAds;
|
bool Safe_bWantsToAds;
|
||||||
|
|
Loading…
Reference in New Issue