コード例 #1
0
 private void Awake()
 {
     if (joint == null)
     {
         joint = GetComponent <HingeJoint>();
     }
     body = joint.GetComponent <Rigidbody>();
     invInitialLocalRotation = joint.ReadInitialRotation();
 }