CommonLibSSE (Parapets fork)
CombatUtilities.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiPoint3.h"
4 
5 namespace RE
6 {
7  class TESObjectREFR;
8 
9  enum class ACTOR_LOS_LOCATION
10  {
11  kOrigin = 0,
12  kEye = 1,
13  kHead = 2,
14  kTorso = 3,
15  kFeet = 4
16  };
17 
19  {
20  [[nodiscard]] static RE::NiPoint3 GetAngleToProjectedTarget(RE::NiPoint3 a_origin, RE::TESObjectREFR* a_target, float a_speed, float a_gravity, RE::ACTOR_LOS_LOCATION a_location);
21  };
22 }
Definition: NiPoint3.h:6
Definition: TESObjectREFR.h:105
Definition: AbsorbEffect.h:6
ACTOR_LOS_LOCATION
Definition: CombatUtilities.h:10
Definition: CombatUtilities.h:19
static RE::NiPoint3 GetAngleToProjectedTarget(RE::NiPoint3 a_origin, RE::TESObjectREFR *a_target, float a_speed, float a_gravity, RE::ACTOR_LOS_LOCATION a_location)