Beispiel #1
0
 /*
  * public float GetJointVelMultiDof(int i)
  * {
  *      return btMultiBody_getJointVelMultiDof(Native, i);
  * }
  */
 public MultiBodyLink GetLink(int index)
 {
     if (_links == null)
     {
         _links = new MultiBodyLink[NumLinks];
     }
     if (_links[index] == null)
     {
         _links[index] = new MultiBodyLink(btMultiBody_getLink(Native, index));
     }
     return(_links[index]);
 }
 /*
 public float GetJointVelMultiDof(int i)
 {
     return btMultiBody_getJointVelMultiDof(_native, i);
 }
 */
 public MultiBodyLink GetLink(int index)
 {
     if (_links == null) {
         _links = new MultiBodyLink[NumLinks];
     }
     if (_links[index] == null) {
         _links[index] = new MultiBodyLink(btMultiBody_getLink(_native, index));
     }
     return _links[index];
 }