【Physics】3. Joint joint

Click to visit the official website joint

1. Major basic joint components

  1. Hinge Joint-Hinge Joint
  2. Fixed Joint-Fixed Joint
  3. Spring Joint-Spring Joint
  4. Character Joint-Character Joint
  5. Configurable Joint-Configurable Joint

The following only takes 铰链关节the record, the rest are similar

2. Hinge Joint

A hinge joint (Hinge Joint) combines two rigid bodies together, constraining the rigid bodies so that they move as if connected by a hinge.

Hinge joints are great for doors, but can also be used to simulate things like chains, pendulums, etc.

insert image description here

Attributes Function
Connected Body A reference to the Rigidbody the joint depends on (optional). If not set, the joint is connected to the world.
Anchor The position of the axis of oscillation about which the connected body is oscillating. The position is defined in local space.
Axis The connecting body revolves around the direction of the axis of swing. The direction is defined in local space.
Auto Configure Connected Anchor If enabled, the Connected Anchor position is automatically calculated to match the global position of the Anchor property. This is the default behavior. If this property is disabled, the location of connection anchors can be manually configured.
Connected Anchor Manually configure the connection anchor location.
Use Spring A spring causes a rigid body to assume a specific angle relative to its connected body.
Spring Properties of the spring used when Use Spring is enabled .
Spring The force the object claims to exert when it moves into place.
Damper The higher the value, the faster the object decelerates.
Target Position The target angle of the spring. The spring is stretched towards this angle (in degrees).
Use Motor The motor rotates the object.
Motor Properties of the motor used with Use Motor enabled.
Target Velocity The velocity the object is trying to achieve.
Force The force applied to achieve this velocity.
Free Spin If this property is enabled, the motors are never used to brake rotation, only acceleration.
Use Limits If this property is enabled, the hinge's angle will be limited to Min to Max values.
Limits Attributes for the limits used if Use Limits is enabled .
Min The smallest angle the rotation can reach.
Max The maximum angle the rotation can reach.
Bounciness The amount of bounce the object has when it reaches the minimum or maximum stop limit.
Contact Distance Within the contact distance from the limit position, the contact will continue to avoid chattering.
Break Force The force required to break this joint.
Break Torque The torque required to break this joint.
Enable Collision When this check box is checked, collisions between jointed connected bodies are allowed.
Enable Preprocessing Disabling preprocessing helps stabilize unsatisfiable configurations.

Guess you like

Origin blog.csdn.net/qq_30769437/article/details/130452603