Bugfix Pointer Retaining Position After Combat Has Ended
This commit is contained in:
parent
0c13de4668
commit
15d2734c52
BIN
Content/Blueprints/Combat_UI/CombatCharacter.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Combat_UI/CombatCharacter.uasset
(Stored with Git LFS)
Binary file not shown.
@ -94,6 +94,11 @@ void ATempCharacter::Sneak()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void ATempCharacter::ResetWidgetPointer() const
|
||||||
|
{
|
||||||
|
WidgetPointer->SetWorldLocationAndRotation(FVector(0, 0, 0), FRotator(0, 0, 0).Quaternion());
|
||||||
|
}
|
||||||
|
|
||||||
// Called every frame
|
// Called every frame
|
||||||
void ATempCharacter::Tick(float DeltaTime)
|
void ATempCharacter::Tick(float DeltaTime)
|
||||||
{
|
{
|
||||||
|
@ -19,6 +19,7 @@ class THE_TWILIGHT_ABYSS_API ATempCharacter : public ACharacter
|
|||||||
public:
|
public:
|
||||||
// Sets default values for this character's properties
|
// Sets default values for this character's properties
|
||||||
ATempCharacter();
|
ATempCharacter();
|
||||||
|
void ResetWidgetPointer() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Called when the game starts or when spawned
|
// Called when the game starts or when spawned
|
||||||
|
Loading…
Reference in New Issue
Block a user