예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AgaQ.Bricks.Positioners.ProjectedJoint"/> struct.
 /// </summary>
 /// <param name="projectedPosition">Position.</param>
 /// <param name="joint">Joint.</param>
 public ProjectedJoint(Vector3 projectedPosition, AgaQ.Bricks.Joints.Joint joint)
 {
     this.projectedPosition = projectedPosition;
     this.joint             = joint;
 }
예제 #2
0
 /// <summary>
 /// Set joint to referece brick each other.1
 /// </summary>
 /// <param name="otherJoint"></param>
 public void SetJoint(Joint otherJoint)
 {
     otherJoint.other = this;
     other            = otherJoint;
 }