Class PhysicsWorldBuilder
Utilities for building a physics world.
Inherited Members
Namespace: Unity.Physics.Systems
Assembly: solution.dll
Syntax
[BurstCompile]
public static class PhysicsWorldBuilder
Methods
Name | Description |
---|---|
Build |
Build broadphase BoundingVolumeHierarchy of the specified PhysicsWorld (run immediately on the current thread) |
Build |
Fill specified PhysicsWorld with bodies and joints (using entities from specified queries) and build broadphase BoundingVolumeHierarchy (run immediately on the current thread). Needs a system to to update type handles of physics-related components. |
Build |
Fill specified PhysicsWorld with bodies and joints (using entities from specified queries) and build broadphase BoundingVolumeHierarchy (run immediately on the current thread). |
Schedule |
Schedule jobs to build broadphase BoundingVolumeHierarchy of the specified PhysicsWorld. |
Schedule |
Schedule jobs to fill specified PhysicsWorld with bodies and joints (using entities from specified queries) and build broadphase BoundingVolumeHierarchy. |
Schedule |
Schedule jobs to fill the PhysicsWorld in specified physicsData with bodies and joints (using entities from physicsData's queries) and build broadphase BoundingVolumeHierarchy. Needs a SystemState to update component handles. |