Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

ShapeSpace

class in Unity.U2D.Physics

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Query a PhysicsSpace assuming the ProxyHandle are all PhysicsShape.

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.