Methods
collideStatic(staticIndex, func)
- Source:
Collide the objects in an index against the objects in a staticIndex using the query callback function.
Parameters:
| Name | Type | Description |
|---|---|---|
staticIndex |
cp.SpatialIndex | |
func |
function |