PhysicsSpace.ShapeSpace
Query a PhysicsSpace assuming the PhysicsSpace.ProxyHandle are all PhysicsShape.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Class
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static class PhysicsSpace.ShapeSpace
Static Methods
Method | Description |
|---|---|
| CastRay | Find PhysicsShape that intersect the specified ray. The results indicate PhysicsShape that intersect the specified ray, in ascending order. |
| CastShape | Find PhysicsShape that intersect the specified shape. The results indicate PhysicsShape that intersect the specified cast shape, in ascending order. |
| OverlapAABB | Find PhysicsShape whose AABB overlap the specified AABB. The results indicate PhysicsShape AABB overlap the specified AABB, in no specific order. |
| OverlapPoint | Find PhysicsShape that overlap the specified point. The results indicate PhysicsShape overlap the specified point, in no specific order. |