Class PhysicsWorldIndexAuthoring
Authoring component to associate a rigid body with the specified physics world.
Inherited Members
Namespace: Unity.Physics.Authoring
Assembly: solution.dll
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
Name | Description |
---|---|
World |
The physics world index. The index of the physics world the rigid body will be associated to. The default physics world has index 0." |