Class CustomPhysicsProxyAuthoring
This authoring component will create multiple proxy entities in different physics worlds.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Physics.Authoring
Assembly: solution.dll
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
Name | Description |
---|---|
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." |
TargetPhysicsWorld | A mask of physics world indices in which proxy entities should be created. |