ICECreatureControl  1.3.2
Public Member Functions | Public Attributes | Protected Attributes | Properties | List of all members
ICE.Creatures.Objects.TurretObject Class Reference
Inheritance diagram for ICE.Creatures.Objects.TurretObject:
Inheritance graph
Collaboration diagram for ICE.Creatures.Objects.TurretObject:
Collaboration graph

Public Member Functions

 TurretObject ()
 
 TurretObject (ICEWorldBehaviour _component)
 
 TurretObject (TurretObject _object)
 
override void Init (ICEWorldBehaviour _component)
 
void Copy (TurretObject _object)
 
void ForceActiveTarget (GameObject _target)
 
void ResetActiveTarget ()
 
bool Update ()
 Update the turret incl. movements and scan for targets More...
 
void Scan ()
 Scan for targets within the scanning range More...
 

Public Attributes

float ScanRange = 15.0f
 
float ScanRangeMaximum = 100.0f
 
MountingPivotType PivotType = MountingPivotType.PivotalPoint
 
bool UseParkPosition = true
 
Quaternion DefaultPivotRotation = Quaternion.identity
 
float DefaultPivotYawRotation = 0
 
float DefaultPivotPitchRotation = 0
 
Transform PivotPoint = null
 
Transform PivotYawAxis = null
 
Transform PivotPitchAxis = null
 
float RotationSpeed = 2
 
float RotationSpeedMaximum = 10
 
float MaxAngularDeviation = 2
 
float ScanInterval = 0.5f
 
float ScanIntervalMaximum = 10
 

Protected Attributes

Transform m_ActiveTarget = null
 

Properties

LayerObject Layers [get, set]
 
Transform ActiveTarget [get]
 
DirectAudioPlayerObject MovingSound [get, set]
 
bool IsForced [get]
 
bool IsMoving [get]
 
bool IsFocused [get]
 

Constructor & Destructor Documentation

ICE.Creatures.Objects.TurretObject.TurretObject ( )
ICE.Creatures.Objects.TurretObject.TurretObject ( ICEWorldBehaviour  _component)
ICE.Creatures.Objects.TurretObject.TurretObject ( TurretObject  _object)

Member Function Documentation

void ICE.Creatures.Objects.TurretObject.Copy ( TurretObject  _object)
void ICE.Creatures.Objects.TurretObject.ForceActiveTarget ( GameObject  _target)
override void ICE.Creatures.Objects.TurretObject.Init ( ICEWorldBehaviour  _component)
void ICE.Creatures.Objects.TurretObject.ResetActiveTarget ( )
void ICE.Creatures.Objects.TurretObject.Scan ( )

Scan for targets within the scanning range

bool ICE.Creatures.Objects.TurretObject.Update ( )

Update the turret incl. movements and scan for targets

Member Data Documentation

float ICE.Creatures.Objects.TurretObject.DefaultPivotPitchRotation = 0
Quaternion ICE.Creatures.Objects.TurretObject.DefaultPivotRotation = Quaternion.identity
float ICE.Creatures.Objects.TurretObject.DefaultPivotYawRotation = 0
Transform ICE.Creatures.Objects.TurretObject.m_ActiveTarget = null
protected
float ICE.Creatures.Objects.TurretObject.MaxAngularDeviation = 2
Transform ICE.Creatures.Objects.TurretObject.PivotPitchAxis = null
Transform ICE.Creatures.Objects.TurretObject.PivotPoint = null
MountingPivotType ICE.Creatures.Objects.TurretObject.PivotType = MountingPivotType.PivotalPoint
Transform ICE.Creatures.Objects.TurretObject.PivotYawAxis = null
float ICE.Creatures.Objects.TurretObject.RotationSpeed = 2
float ICE.Creatures.Objects.TurretObject.RotationSpeedMaximum = 10
float ICE.Creatures.Objects.TurretObject.ScanInterval = 0.5f
float ICE.Creatures.Objects.TurretObject.ScanIntervalMaximum = 10
float ICE.Creatures.Objects.TurretObject.ScanRange = 15.0f
float ICE.Creatures.Objects.TurretObject.ScanRangeMaximum = 100.0f
bool ICE.Creatures.Objects.TurretObject.UseParkPosition = true

Property Documentation

Transform ICE.Creatures.Objects.TurretObject.ActiveTarget
get
bool ICE.Creatures.Objects.TurretObject.IsFocused
get
bool ICE.Creatures.Objects.TurretObject.IsForced
get
bool ICE.Creatures.Objects.TurretObject.IsMoving
get
LayerObject ICE.Creatures.Objects.TurretObject.Layers
getset
DirectAudioPlayerObject ICE.Creatures.Objects.TurretObject.MovingSound
getset

The documentation for this class was generated from the following file: