Struct CustomPhysicsProxyDriver
Provide a link to an entity in the physics world the custom physics proxy is driven by.
Implements
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public struct CustomPhysicsProxyDriver : IComponentData, IQueryTypeParameter
Fields
FirstOrderGain
Coefficient in range [0,1] denoting how much the client body will be driven by position (teleported), while the rest of position diff will be velocity-driven
Declaration
public float FirstOrderGain
Field Value
Type | Description |
---|---|
float |
rootEntity
The root entity.
Declaration
public Entity rootEntity
Field Value
Type | Description |
---|---|
Entity |
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter