diff --git a/Source/LegumeMix/Public/Player/LMPlayer.h b/Source/LegumeMix/Public/Player/LMPlayer.h index 78c74f7..91f31d2 100644 --- a/Source/LegumeMix/Public/Player/LMPlayer.h +++ b/Source/LegumeMix/Public/Player/LMPlayer.h @@ -44,10 +44,10 @@ public: void FireBullets(const FLMBulletInfo Settings); UFUNCTION(BlueprintCallable) - FVector GetWeaponFiringOrigin() const { return Camera->GetComponentLocation(); } + FVector GetWeaponFiringOrigin() const; UFUNCTION(BlueprintCallable) - FVector GetAimVector() const { return Camera->GetForwardVector(); } + FVector GetAimVector() const; private: UPROPERTY(EditAnywhere, BlueprintReadOnly, Category=Legumix, meta = (AllowPrivateAccess = true))