Class CustomPhysicsProxyAuthoring
This authoring component will create multiple proxy entities in different physics worlds.
Inherited Members
Namespace: Unity.Physics.Authoring
Syntax
[AddComponentMenu("Entities/Physics/Custom Physics Proxy")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.physics@latest/index.html?subfolder=/api/Unity.Physics.Authoring.CustomPhysicsProxyAuthoring.html")]
public sealed class CustomPhysicsProxyAuthoring : MonoBehaviour
Fields
FirstOrderGain
First Order Gain
Coefficient in range [0,1] denoting how much the client body will be driven by position (teleported), while the rest of the position diff will be velocity-driven."
Declaration
[Range(0F, 1F)]
[Tooltip("Coefficient in range [0,1] denoting how much the client body will be driven by position (teleported), while the rest of the position diff will be velocity-driven.")]
public float FirstOrderGain
Field Value
Type | Description |
---|---|
Single |
TargetPhysicsWorld
A mask of physics world indices in which proxy entities should be created.
Declaration
public CustomPhysicsProxyAuthoring.TargetWorld TargetPhysicsWorld
Field Value
Type | Description |
---|---|
CustomPhysicsProxyAuthoring.TargetWorld |