Method ScheduleUpdateDynamicTree
ScheduleUpdateDynamicTree(ref PhysicsWorld, float, float3, JobHandle, bool)
Schedule a set of jobs to synchronize the collision world with the dynamics world.
Declaration
public JobHandle ScheduleUpdateDynamicTree(ref PhysicsWorld world, float timeStep, float3 gravity, JobHandle inputDeps, bool multiThreaded = true)
Parameters
Type | Name | Description |
---|---|---|
PhysicsWorld | world | [in,out] The world. |
float | timeStep | The time step. |
float3 | gravity | The gravity. |
JobHandle | inputDeps | The input deps. |
bool | multiThreaded | (Optional) True if multi threaded. |
Returns
Type | Description |
---|---|
JobHandle | A JobHandle. |