Struct BuildPhysicsWorldData
Public system data for this world's instance of a BuildPhysicsWorld system.
Contains physics world data based on the entity world. The physics world data will contain a rigid body for every entity which has a rigid body component, and a joint for every entity which has a joint component.
Inherited Members
Namespace: Unity.Physics.Systems
Assembly: solution.dll
Syntax
public struct BuildPhysicsWorldData : IComponentData, IQueryTypeParameter
Fields
| Name | Description |
|---|---|
| PhysicsData | Information describing the PhysicsWorldData. Important : avoid using BuildPhysicsWorldData.PhysicsWorldData.PhysicsWorld. Use PhysicsWorldSingleton instead. |
| WorldFilter | A filter specifying the world. |
Properties
| Name | Description |
|---|---|
| DynamicEntityGroup | Gets the group the dynamic bodies belongs to. |
| HaveStaticBodiesChanged | True if the static bodies have changed this frame. |
| JointEntityGroup | Gets the group the joints belongs to. |
| StaticEntityGroup | Gets the group the static bodies belongs to. |