More SFX
This commit is contained in:
parent
650a1ad1e2
commit
4cb0bff9aa
BIN
Assets/SFX/Footsteps/FOOTSTEP - Metal Grill Land Barefoot Male - 5.wav
(Stored with Git LFS)
Normal file
BIN
Assets/SFX/Footsteps/FOOTSTEP - Metal Grill Land Barefoot Male - 5.wav
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Assets/SFX/GravityChange/Bluezone-Autobots-footstep-013.wav
(Stored with Git LFS)
Normal file
BIN
Assets/SFX/GravityChange/Bluezone-Autobots-footstep-013.wav
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Assets/SFX/GravityChange/Bluezone-Autobots-footstep-015.wav
(Stored with Git LFS)
Normal file
BIN
Assets/SFX/GravityChange/Bluezone-Autobots-footstep-015.wav
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Assets/SFX/GravityChange/MOTRSrvo_Plasma Rifle Arm_01.wav
(Stored with Git LFS)
Normal file
BIN
Assets/SFX/GravityChange/MOTRSrvo_Plasma Rifle Arm_01.wav
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Assets/SFX/GravityChange/Stomp1.wav
(Stored with Git LFS)
Normal file
BIN
Assets/SFX/GravityChange/Stomp1.wav
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Assets/SFX/GravityChange/Stomp2.wav
(Stored with Git LFS)
Normal file
BIN
Assets/SFX/GravityChange/Stomp2.wav
(Stored with Git LFS)
Normal file
Binary file not shown.
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/Maps/City/City1.umap
(Stored with Git LFS)
BIN
GravityStomp/Content/Maps/City/City1.umap
(Stored with Git LFS)
Binary file not shown.
BIN
GravityStomp/Content/SFX/Footsteps/FOOTSTEP_-_Metal_Grill_Land_Barefoot_Male_-_5.uasset
(Stored with Git LFS)
Normal file
BIN
GravityStomp/Content/SFX/Footsteps/FOOTSTEP_-_Metal_Grill_Land_Barefoot_Male_-_5.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
GravityStomp/Content/SFX/Footsteps/MetalLand_Cue.uasset
(Stored with Git LFS)
Normal file
BIN
GravityStomp/Content/SFX/Footsteps/MetalLand_Cue.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
GravityStomp/Content/SFX/GravityChange/GravityChange_Cue.uasset
(Stored with Git LFS)
Normal file
BIN
GravityStomp/Content/SFX/GravityChange/GravityChange_Cue.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
GravityStomp/Content/SFX/GravityChange/MOTRSrvo_Plasma_Rifle_Arm_01.uasset
(Stored with Git LFS)
Normal file
BIN
GravityStomp/Content/SFX/GravityChange/MOTRSrvo_Plasma_Rifle_Arm_01.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
GravityStomp/Content/SFX/GravityChange/Stomp1.uasset
(Stored with Git LFS)
Normal file
BIN
GravityStomp/Content/SFX/GravityChange/Stomp1.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
GravityStomp/Content/SFX/GravityChange/Stomp2.uasset
(Stored with Git LFS)
Normal file
BIN
GravityStomp/Content/SFX/GravityChange/Stomp2.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
GravityStomp/Content/SFX/GravityChange/Stomp_Cue.uasset
(Stored with Git LFS)
Normal file
BIN
GravityStomp/Content/SFX/GravityChange/Stomp_Cue.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -43,6 +43,9 @@ public:
|
||||
|
||||
void ChangeTeamColor(bool bIsPlayerFriendly);
|
||||
|
||||
UFUNCTION(BlueprintImplementableEvent)
|
||||
void OnGravityDirectionChanged(FVector NewUpDir);
|
||||
|
||||
protected:
|
||||
|
||||
/** Called for movement input */
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include "Character/GSCharacterMovementComponent.h"
|
||||
|
||||
// UE includes
|
||||
#include "GSCharacter.h"
|
||||
#include "Components/CapsuleComponent.h"
|
||||
#include "GameFramework/Character.h"
|
||||
#include "Kismet/KismetMathLibrary.h"
|
||||
@ -684,6 +685,11 @@ void UGSCharacterMovementComponent::SetCharacterUpDirection(FVector NewUpDirecti
|
||||
if(!(CharacterUpDirection.Dot(NewUpDirection) > UE_KINDA_SMALL_NUMBER))
|
||||
{
|
||||
CharacterUpDirection = NewUpDirection;
|
||||
AGSCharacter* Char = Cast<AGSCharacter>(GetCharacterOwner());
|
||||
if(Char)
|
||||
{
|
||||
Char->OnGravityDirectionChanged(CharacterUpDirection);
|
||||
}
|
||||
SetMovementMode(MOVE_Falling);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user