Class CustomPhysicsProxyAuthoring
This authoring component will create multiple proxy entities in different physics worlds.
Inherited Members
Namespace: Unity.Physics.Authoring
Assembly: Unity.Physics.Hybrid.dll
Syntax
[Icon("Packages/com.unity.physics/Unity.Physics.Editor/Editor Default Resources/Icons/d_Rigidbody@64.png")]
[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(0, 1)]
[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 |
---|---|
float |
TargetPhysicsWorld
A mask of physics world indices in which proxy entities should be created.
Declaration
public CustomPhysicsProxyAuthoring.TargetWorld TargetPhysicsWorld
Field Value
Type | Description |
---|---|
Custom |