Class AITurretController
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class AITurretController : MonoBehaviour
- Inheritance
-
AITurretController
Constructors
AITurretController()
public AITurretController()
Fields
AngularCutoff
public float AngularCutoff
Field Value
- float
ClampX
Field Value
- bool
ClampY
Field Value
- bool
FireAtWill
Field Value
- bool
RotateX
Field Value
- bool
RotateXMaxAngle
public float RotateXMaxAngle
Field Value
- float
RotateY
Field Value
- bool
RotateYMaxAngle
public float RotateYMaxAngle
Field Value
- float
WeaponSystem
public AIWeaponSystem WeaponSystem
Field Value
- AIWeaponSystem
public Transform XAxisTransform
Field Value
- Transform
XRotSpeed
Field Value
- float
public Transform YAxisTransform
Field Value
- Transform
YRotSpeed
Field Value
- float
root
Field Value
- Transform
Methods
GetDirectionToPoint(Vector3)
public Vector3 GetDirectionToPoint(Vector3 point)
Parameters
point
Vector3
Returns
- Vector3
GetDirectionToPoint(Vector3, Vector3)
public Vector3 GetDirectionToPoint(Vector3 point, Vector3 origin)
Parameters
point
Vector3
origin
Vector3
Returns
- Vector3
SetFireAtWill(bool)
public void SetFireAtWill(bool b)
Parameters
b
bool
SetTargetPoint(Vector3)
public void SetTargetPoint(Vector3 v)
Parameters
v
Vector3
UpdateTurretController()
public void UpdateTurretController()