Method BuildBroadphaseBVHImmediate
BuildBroadphaseBVHImmediate(ref PhysicsWorld, bool, float, float3)
Build broadphase BoundingVolumeHierarchy of the specified PhysicsWorld (run immediately on the current thread)
Declaration
public static void BuildBroadphaseBVHImmediate(ref PhysicsWorld world, bool haveStaticBodiesChanged, float timeStep, float3 gravity)
Parameters
Type | Name | Description |
---|---|---|
PhysicsWorld | world | [in,out] The world. |
bool | haveStaticBodiesChanged | True if have static bodies changed. |
float | timeStep | The time step. |
float3 | gravity | The gravity. |