Documentation

Unity Engine

Download Unity

Unity Engine

SetProxyAABB(ProxyHandle, PhysicsAABB, bool)

Set the proxy AABB.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public void SetProxyAABB(PhysicsSpace.ProxyHandle proxyHandle, PhysicsAABB aabb, bool updateAncestors)

Parameters

proxyHandle

The proxy to set.

The AABB to set the proxy to.

updateAncestors

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.