Пример #1
0
 public void InitTail(Transform TailBase)
 {
     _tail = new MyTentacleController();
     _tail.LoadTentacleJoints(TailBase, TentacleMode.TAIL);
     tailEndEffector = _tail.EndEffector;
     //TODO: Initialize anything needed for the Gradient Descent implementation
 }
 public void InitTail(Transform TailBase)
 {
     _tail = new MyTentacleController();
     _tail.LoadTentacleJoints(TailBase, TentacleMode.TAIL);
     //TODO: Initialize anything needed for the Gradient Descent implementation
     // we get the tailEndEffector from the tail bones
     tailEndEffector = _tail.Bones[_tail.Bones.Length - 1];
 }