§ Awake()
      
        
          | void Kalagaan.VertExmotionSensorBase.Awake | ( |  | ) |  | 
      
 
 
§ IgnoreCollision()
      
        
          | void Kalagaan.VertExmotionSensorBase.IgnoreCollision | ( | Collider | collider, | 
        
          |  |  | bool | ignore | 
        
          |  | ) |  |  | 
      
 
Ignore collider from colliding with sensor's collision zones 
- Parameters
- 
  
  
 
 
§ IgnoreFrame()
      
        
          | void Kalagaan.VertExmotionSensorBase.IgnoreFrame | ( |  | ) |  | 
      
 
Ignore current frame motion. 
 
 
§ LateUpdate()
      
        
          | void Kalagaan.VertExmotionSensorBase.LateUpdate | ( |  | ) |  | 
      
 
 
§ ResetMotion()
      
        
          | void Kalagaan.VertExmotionSensorBase.ResetMotion | ( |  | ) |  | 
      
 
 
§ Start()
      
        
          | void Kalagaan.VertExmotionSensorBase.Start | ( |  | ) |  | 
      
 
 
§ TransformPosition()
      
        
          | Vector3 Kalagaan.VertExmotionSensorBase.TransformPosition | ( | Vector3 | pos, | 
        
          |  |  | float | weight | 
        
          |  | ) |  |  | 
      
 
Convert a position by applying sensor deformation. 
- Parameters
- 
  
    | pos | position to convert |  | weight | 0->1 |  
 
 
 
§ Update()
      
        
          | void Kalagaan.VertExmotionSensorBase.Update | ( |  | ) |  | 
      
 
 
§ UpdateSensor()
      
        
          | void Kalagaan.VertExmotionSensorBase.UpdateSensor | ( |  | ) |  | 
      
 
 
§ className
      
        
          | string Kalagaan.VertExmotionSensorBase.className = "VertExmotionSensor" | 
      
 
 
§ m_accStretch
      
        
          | Vector3 Kalagaan.VertExmotionSensorBase.m_accStretch = Vector3.zero | 
      
 
 
§ m_center
      
        
          | Vector3 Kalagaan.VertExmotionSensorBase.m_center | 
      
 
center of the sensor 
shader parameter 
 
 
§ m_centripetalForce
      
        
          | float Kalagaan.VertExmotionSensorBase.m_centripetalForce = 0f | 
      
 
Torque axis 
shader parameter 
 
 
§ m_collision
      
        
          | Vector3 Kalagaan.VertExmotionSensorBase.m_collision = Vector3.zero | 
      
 
 
§ m_envelopRadius
      
        
          | float Kalagaan.VertExmotionSensorBase.m_envelopRadius = 1f | 
      
 
radius of the sensor 
shader parameter 
 
 
§ m_executeOnLateUpdate
      
        
          | bool Kalagaan.VertExmotionSensorBase.m_executeOnLateUpdate = true | 
      
 
 
§ m_lastMotionDirection
      
        
          | Vector3 Kalagaan.VertExmotionSensorBase.m_lastMotionDirection = Vector3.zero | 
      
 
 
§ m_lastPosition
      
        
          | Vector3 Kalagaan.VertExmotionSensorBase.m_lastPosition | 
      
 
 
§ m_lastSpeed
      
        
          | Vector3 Kalagaan.VertExmotionSensorBase.m_lastSpeed = Vector3.zero | 
      
 
 
§ m_layerID
      
        
          | int Kalagaan.VertExmotionSensorBase.m_layerID = 0 | 
      
 
 
§ m_motionDirection
      
        
          | Vector3 Kalagaan.VertExmotionSensorBase.m_motionDirection | 
      
 
Motion direction 
shader parameter 
 
 
§ m_motionReference
      
        
          | Transform Kalagaan.VertExmotionSensorBase.m_motionReference = null | 
      
 
 
§ m_motionTorqueForce
      
        
          | float Kalagaan.VertExmotionSensorBase.m_motionTorqueForce = 0 | 
      
 
Torque force 
shader parameter 
 WIP 
 
 
§ m_oldScaleFactorFixed
      
        
          | bool Kalagaan.VertExmotionSensorBase.m_oldScaleFactorFixed = false | 
      
 
 
§ m_params
Parameters list 
 all parameters needed for sensor behaviour 
 
 
§ m_parent
      
        
          | Transform Kalagaan.VertExmotionSensorBase.m_parent | 
      
 
Parent of the transform 
for skinedMeshRenderer set the bone 
 
 
§ m_parentSensor
§ m_pid
§ m_pidTime
      
        
          | float Kalagaan.VertExmotionSensorBase.m_pidTime = 2f | 
      
 
 
§ m_sensorDirection
      
        
          | Vector3 Kalagaan.VertExmotionSensorBase.m_sensorDirection | 
      
 
current sensor direction used for smooth 
 
 
§ m_speed
      
        
          | Vector3 Kalagaan.VertExmotionSensorBase.m_speed = Vector3.zero | 
      
 
 
§ m_speedStrech
      
        
          | Vector3 Kalagaan.VertExmotionSensorBase.m_speedStrech = Vector3.zero | 
      
 
 
§ m_stretch
      
        
          | float Kalagaan.VertExmotionSensorBase.m_stretch = 0 | 
      
 
 
§ m_torqueAxis
      
        
          | Vector3 Kalagaan.VertExmotionSensorBase.m_torqueAxis | 
      
 
Torque axis 
shader parameter 
 
 
§ m_torqueAxisPID
      
        
          | PID_V3 Kalagaan.VertExmotionSensorBase.m_torqueAxisPID = new PID_V3() | 
      
 
 
§ m_torqueForcePID
      
        
          | PID Kalagaan.VertExmotionSensorBase.m_torqueForcePID = new PID() | 
      
 
 
§ deltaTime
  
  | 
        
          | float Kalagaan.VertExmotionSensorBase.deltaTime |  | get | 
 
 
§ time
  
  | 
        
          | float Kalagaan.VertExmotionSensorBase.time |  | get | 
 
 
§ timeScale
  
  | 
        
          | float Kalagaan.VertExmotionSensorBase.timeScale |  | getset | 
 
 
§ unscaledTime
  
  | 
        
          | bool Kalagaan.VertExmotionSensorBase.unscaledTime |  | getset | 
 
 
The documentation for this class was generated from the following file:
- VertExmotionSensorBase.cs