Struct Joint
A runtime joint instance, attached to specific rigid bodies.
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public struct JointFields
AFromJoint
Joint in the space of the body A.
Declaration
public Math.MTransform AFromJointField Value
| Type | Description | 
|---|---|
| Math.MTransform | 
BFromJoint
Joint in the space of the body B.
Declaration
public Math.MTransform BFromJointField Value
| Type | Description | 
|---|---|
| Math.MTransform | 
BodyPair
The body pair.
Declaration
public BodyIndexPair BodyPairField Value
| Type | Description | 
|---|---|
| BodyIndexPair | 
Constraints
Constraint block. Note that Constraints needs to be 4-byte aligned for Android 32.
Declaration
public ConstraintBlock3 ConstraintsField Value
| Type | Description | 
|---|---|
| ConstraintBlock3 | 
EnableCollision
If non-zero, allows these bodies to collide.
Declaration
public byte EnableCollisionField Value
| Type | Description | 
|---|---|
| byte | 
Entity
The entity that contained the component which created this joint Note, this isn't necessarily an entity with a rigid body, as a pair of bodies can have an arbitrary number of constraints, but only one instance of a particular component type per entity.
Declaration
public Entity EntityField Value
| Type | Description | 
|---|---|
| Entity | 
Version
The version.
Declaration
public byte VersionField Value
| Type | Description | 
|---|---|
| byte |