Class PhysicsWorldIndexAuthoring
Authoring component to associate a rigid body with the specified physics world.
Inherited Members
Namespace: Unity.Physics.Authoring
Syntax
[AddComponentMenu("Entities/Physics/Physics World Index")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.physics@latest/index.html?subfolder=/api/Unity.Physics.Authoring.PhysicsWorldIndexAuthoring.html")]
[DisallowMultipleComponent]
[RequireComponent(typeof(Rigidbody))]
public class PhysicsWorldIndexAuthoring : MonoBehaviour
Properties
WorldIndex
The physics world index.
The index of the physics world the rigid body will be associated to. The default physics world has index 0."
Declaration
public uint WorldIndex { get; set; }
Property Value
Type | Description |
---|---|
UInt32 |