private void CollectObservationBodyPart(BodyPart bp)
 {
     if (bp.rb.transform != Root.transform)
     {
         AddVectorObs(bp.currentXNormalizedRot);
         AddVectorObs(bp.currentYNormalizedRot);
         AddVectorObs(bp.currentZNormalizedRot);
         AddVectorObs(bp.currentStrength / _jdController.maxJointForceLimit);
     }
 }
Пример #2
0
 public void noKinematic(BodyPart bp)
 {
     bp.rb.isKinematic = false;
 }