Class AIBallJointTurret
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class AIBallJointTurret : AIBodyPiece, IFVRDamageable
- Inheritance
-
AIBallJointTurret
- Implements
-
- Inherited Members
-
Constructors
AIBallJointTurret()
public AIBallJointTurret()
Fields
public Transform AimingTransform
Field Value
- Transform
Clunk
Field Value
- AIClunk
DoesRotate
Field Value
- bool
FireArms
public AIFireArmMount[] FireArms
Field Value
- AIFireArmMount[]
FireAtWill
Field Value
- bool
FiringAngularCutoff
public float FiringAngularCutoff
Field Value
- float
MaxRotAngle
Field Value
- float
RB
Field Value
- Rigidbody
Root
Field Value
- Transform
RotSpeed
Field Value
- float
SensorSystem
public AISensorSystem SensorSystem
Field Value
- AISensorSystem
TimeTilPlatesReset
public float TimeTilPlatesReset
Field Value
- float
Methods
Awake()
public override void Awake()
DestroyEvent()
public override void DestroyEvent()
FixedUpdate()
public override void FixedUpdate()
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
SetFiringAngleCutoff(float)
public void SetFiringAngleCutoff(float f)
Parameters
f
float
SetPlateDamaged(bool)
public override bool SetPlateDamaged(bool b)
Parameters
b
bool
Returns
- bool
SetPlateDisabled(bool)
public override bool SetPlateDisabled(bool b)
Parameters
b
bool
Returns
- bool
SetTargetPoint(Vector3)
public void SetTargetPoint(Vector3 v)
Parameters
v
Vector3
Update()
public override void Update()