Method BuildStaticTree
BuildStaticTree(NativeArray<PhysicsBody>, float)
Build the static tree of the broadphase based on the given array of rigid bodies.
Declaration
public void BuildStaticTree(NativeArray<PhysicsBody> staticBodies, float aabbMargin)
Parameters
Type | Name | Description |
---|---|---|
NativeArray<PhysicsBody> | staticBodies | |
float | aabbMargin |