VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
void AVR.Phys.AVR_Hand.AVR_Finger.Update ( )
inline

Definition at line 244 of file AVR_Hand.cs.

245  {
246  this.weigth = Mathf.Lerp(this.weigth, this.weigth_target, 10f * Time.deltaTime);
247  animator.SetLayerWeight(this.layer, this.weigth);
248 
249  this.state = Mathf.Lerp(this.state, this.state_target, 10f * Time.deltaTime);
250  animator.Play(this.AnimationState, this.layer, this.state);
251  }