SetProxyAABB(ProxyHandle, PhysicsAABB, bool)
Set the proxy AABB.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public void SetProxyAABB(PhysicsSpace.ProxyHandle proxyHandle, PhysicsAABB aabb, bool updateAncestors)
Parameters
The proxy to set.
The AABB to set the proxy to.
If the AABB has simply moved then this should be false however if you have changed its size then you should update the space ancestors which takes more time.