Skip to content

Commit

Permalink
Motion Warping
Browse files Browse the repository at this point in the history
Since the 'Assets' directory is ignored, the Animation Montage file "AM_Cast_FireBolt" is not committed/pushed. It contains Motion Warping added as Notify Track.
  • Loading branch information
apchavan committed Oct 29, 2024
1 parent 7458542 commit c365cee
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Aura.uproject
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
{
"Name": "GameplayAbilities",
"Enabled": true
},
{
"Name": "MotionWarping",
"Enabled": true
}
]
}
Binary file not shown.
Binary file modified Content/Blueprints/Character/Aura/BP_AuraCharacter.uasset
Binary file not shown.
9 changes: 8 additions & 1 deletion Source/Aura/Public/Interaction/CombatInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "CombatInterface.generated.h"

// This class does not need to be modified.
UINTERFACE(MinimalAPI)
UINTERFACE(MinimalAPI, BlueprintType)
class UCombatInterface : public UInterface
{
GENERATED_BODY()
Expand All @@ -25,4 +25,11 @@ class AURA_API ICombatInterface

virtual int32 GetPlayerLevel();
virtual FVector GetCombatSocketLocation();

/**
* Function used to rotate the character towards desired target location with Motion Warping.
* @param Target Vector location of target to face at.
*/
UFUNCTION(BlueprintImplementableEvent, BlueprintCallable)
void UpdateFacingTarget(const FVector& Target);
};

0 comments on commit c365cee

Please sign in to comment.