Fast stomp implementation
This commit is contained in:
parent
b833c63825
commit
5ae5a1fb69
BIN
GravityStomp/Content/Characters/BP_GSCharacter.uasset
(Stored with Git LFS)
BIN
GravityStomp/Content/Characters/BP_GSCharacter.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
GravityStomp/Content/Characters/Mannequins/Animations/ABP_Manny.uasset
(Stored with Git LFS)
BIN
GravityStomp/Content/Characters/Mannequins/Animations/ABP_Manny.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
GravityStomp/Content/Characters/Mannequins/Animations/Manny/MM_Jump_Montage.uasset
(Stored with Git LFS)
Normal file
BIN
GravityStomp/Content/Characters/Mannequins/Animations/Manny/MM_Jump_Montage.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
GravityStomp/Content/Input/Actions/IA_ToggleFastStomp.uasset
(Stored with Git LFS)
Normal file
BIN
GravityStomp/Content/Input/Actions/IA_ToggleFastStomp.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
GravityStomp/Content/Input/IMC_Default.uasset
(Stored with Git LFS)
BIN
GravityStomp/Content/Input/IMC_Default.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
GravityStomp/Content/VFX/Blueprints/BP_AfterImage.uasset
(Stored with Git LFS)
Normal file
BIN
GravityStomp/Content/VFX/Blueprints/BP_AfterImage.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
GravityStomp/Content/VFX/Blueprints/BP_AfterImageComponent.uasset
(Stored with Git LFS)
Normal file
BIN
GravityStomp/Content/VFX/Blueprints/BP_AfterImageComponent.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
GravityStomp/Content/VFX/Materials/MI_AfterImageNormal.uasset
(Stored with Git LFS)
Normal file
BIN
GravityStomp/Content/VFX/Materials/MI_AfterImageNormal.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
GravityStomp/Content/VFX/Materials/M_AfterImageBase.uasset
(Stored with Git LFS)
Normal file
BIN
GravityStomp/Content/VFX/Materials/M_AfterImageBase.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -107,6 +107,11 @@ void AGSCharacter::Move(const FInputActionValue& Value)
|
||||
|
||||
void AGSCharacter::ChangeGravityDirection(const FInputActionValue& Value)
|
||||
{
|
||||
if(!bCanChangeGravity)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
FVector2D GravityDirection = Value.Get<FVector2D>();
|
||||
FVector NewCharacterUpDirection(0.0f, -GravityDirection.X, -GravityDirection.Y);
|
||||
|
||||
|
@ -48,6 +48,9 @@ protected:
|
||||
/** Called for movement input */
|
||||
void Move(const FInputActionValue& Value);
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, Category = "Player Actions Flags")
|
||||
bool bCanChangeGravity = true;
|
||||
|
||||
/** Called when the player changes the gravity direction */
|
||||
void ChangeGravityDirection(const FInputActionValue& Value);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user