Struct Joint
A runtime joint instance, attached to specific rigid bodies.
Inherited Members
Namespace: Unity.Physics
Syntax
public struct Joint
Fields
AFromJoint
Joint in the space of the body A.
Declaration
public Math.MTransform AFromJoint
Field Value
Type | Description |
---|---|
Math.MTransform |
BFromJoint
Joint in the space of the body B.
Declaration
public Math.MTransform BFromJoint
Field Value
Type | Description |
---|---|
Math.MTransform |
BodyPair
The body pair.
Declaration
public BodyIndexPair BodyPair
Field Value
Type | Description |
---|---|
BodyIndexPair |
Constraints
Constraint block. Note that Constraints needs to be 4-byte aligned for Android 32.
Declaration
public ConstraintBlock3 Constraints
Field Value
Type | Description |
---|---|
ConstraintBlock3 |
EnableCollision
If non-zero, allows these bodies to collide.
Declaration
public byte EnableCollision
Field 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 Entity
Field Value
Type | Description |
---|---|
Entity |
Version
The version.
Declaration
public byte Version
Field Value
Type | Description |
---|---|
Byte |