Add code and animations for custom third person character

+ Adds sprinting and crouching, blends between all animations states
+ Followed tutorial: https://docs.unrealengine.com/4.27/en-US/InteractiveExperiences/HowTo/CharacterMovement/
This commit is contained in:
2022-01-13 22:34:00 -05:00
parent 5f6965d34d
commit 20b5d7ee0d
105 changed files with 482 additions and 2 deletions

View File

@@ -5,4 +5,5 @@ SimpleMapName=/Game/TP_ThirdPerson/Maps/ThirdPersonExampleMap
bAllowClassAndBlueprintPinMatching=true
bReplaceBlueprintWithClass= true
bDontLoadBlueprintOutsideEditor= true
bBlueprintIsNotBlueprintType= true
bBlueprintIsNotBlueprintType= true

View File

@@ -8,7 +8,7 @@ TransitionMap=
bUseSplitscreen=True
TwoPlayerSplitscreenLayout=Horizontal
ThreePlayerSplitscreenLayout=FavorTop
GlobalDefaultGameMode=/Game/ThirdPersonBP/Blueprints/ThirdPersonGameMode.ThirdPersonGameMode_C
GlobalDefaultGameMode=/Game/MyAssets/Blueprints/MyGameMode.MyGameMode_C
GlobalDefaultServerGameMode=None
[/Script/IOSRuntimeSettings.IOSRuntimeSettings]

View File

@@ -142,6 +142,8 @@ DoubleClickTime=0.200000
+ActionMappings=(ActionName="ResetVR",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=MagicLeap_Left_Bumper)
+ActionMappings=(ActionName="SpawnActors",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=One)
+ActionMappings=(ActionName="DestroyActors",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Two)
+ActionMappings=(ActionName="Sprint",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=LeftShift)
+ActionMappings=(ActionName="Crouch",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=LeftControl)
+AxisMappings=(AxisName="MoveForward",Scale=1.000000,Key=W)
+AxisMappings=(AxisName="MoveForward",Scale=-1.000000,Key=S)
+AxisMappings=(AxisName="MoveForward",Scale=1.000000,Key=Up)