Method BuildBroadphase
BuildBroadphase(ref PhysicsWorld, float, float3, bool)
Build the broadphase based on the given world.
Declaration
public void BuildBroadphase(ref PhysicsWorld world, float timeStep, float3 gravity, bool buildStaticTree = true)
Parameters
| Type | Name | Description |
|---|---|---|
| PhysicsWorld | world | [in,out] The world. |
| float | timeStep | The time step. |
| float3 | gravity | The gravity. |
| bool | buildStaticTree | (Optional) True to build static tree. |