文档

Unity Engine

Unity Engine

PhysicsJoint.JointType

The type of joint.
阅读时间1 分钟最后更新于 1 个月前

Definition

public enum PhysicsJoint.JointType

Fields

Value

Description

DistanceJointConstrain the distance between a pair of bodies.
FixedJointConstrain a fixed translation and rotation between a pair of bodies. This joint type is also know as a Weld joint.
HingeJointConstrain the rotation between a pair of bodies. This joint type is also know as a Revolute joint.
IgnoreJointUsed to ignore collision between two specific bodies. As a side effect of being a joint, it also keeps the two bodies in the same simulation island.
RelativeJointConstrain the relative translation and rotation between a pair of bodies. This joint type is also know as a Motor joint.
SliderJointConstrain the relative translation along an axis between a pair of bodies. This joint type is also know as a Prismatic joint.
WheelJointConstrain a translation and rotation between a pair of bodies.