Struct PhysicsCompoundData
Component that specifies data relating to compound colliders and blobs. Note that all colliders will have this component. The presence of this component indicates that this collider is a root of a collider, which may or may not be a compound.
Inherited Members
Namespace: Unity.Physics.Authoring
Assembly: Unity.Physics.Hybrid.dll
Syntax
[BakingType]
public struct PhysicsCompoundData : IComponentData, IQueryTypeParameter
Fields
AssociateBlobToBody
Indicates if a blob is associated to a collider
Declaration
public bool AssociateBlobToBody
Field Value
Type | Description |
---|---|
bool |
ConvertedBodyInstanceID
Instance ID of the GameObject associated with the body
Declaration
public int ConvertedBodyInstanceID
Field Value
Type | Description |
---|---|
int |
DeferredCompoundBlob
A flag to indicate that calculation of a compound blob should be deferred
Declaration
public bool DeferredCompoundBlob
Field Value
Type | Description |
---|---|
bool |
Hash
A hash associated with a compound collider
Declaration
public Hash128 Hash
Field Value
Type | Description |
---|---|
Hash128 |
RegisterBlob
A flag to indicate that a compound collider has been calculated
Declaration
public bool RegisterBlob
Field Value
Type | Description |
---|---|
bool |