Table of Contents

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

public bool ClampX

Field Value

bool

ClampY

public bool ClampY

Field Value

bool

FireAtWill

public bool FireAtWill

Field Value

bool

RotateX

public bool RotateX

Field Value

bool

RotateXMaxAngle

public float RotateXMaxAngle

Field Value

float

RotateY

public bool RotateY

Field Value

bool

RotateYMaxAngle

public float RotateYMaxAngle

Field Value

float

WeaponSystem

public AIWeaponSystem WeaponSystem

Field Value

AIWeaponSystem

XAxisTransform

public Transform XAxisTransform

Field Value

Transform

XRotSpeed

public float XRotSpeed

Field Value

float

YAxisTransform

public Transform YAxisTransform

Field Value

Transform

YRotSpeed

public float YRotSpeed

Field Value

float

root

public Transform 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()