int The number of proxies that were synced.
Refresh every proxy from its shape, updating each proxy AABB and categories to match the live shape. This only applies to a space bound to a world. A proxy whose shape has been destroyed since it was added is skipped and reported with a single warning.
| Parameter | Description |
|---|---|
| proxyHandles | The proxies to sync. |
int The number of proxies that were synced.
Refresh the specified proxies from their shapes, updating each proxy AABB and categories to match the live shape. This only applies to a space bound to a world. An invalid proxy handle, or a proxy whose shape has been destroyed, is skipped and reported with a single warning.
| Parameter | Description |
|---|---|
| proxyHandle | The proxy to sync. |
int The number of proxies that were synced (0 or 1).
Refresh a single proxy from its shape, updating the proxy AABB and categories to match the live shape. This only applies to a space bound to a world. The proxy is skipped if its handle is invalid or its shape has been destroyed.