Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsSpace.ShapeSpace

Query a PhysicsSpace assuming the PhysicsSpace.ProxyHandle are all PhysicsShape.
Read time 1 minuteLast updated 10 days ago

Definition

public static class PhysicsSpace.ShapeSpace

Static Methods

Method

Description

CastRayFind PhysicsShape that intersect the specified ray. The results indicate PhysicsShape that intersect the specified ray, in ascending order.
CastShapeFind PhysicsShape that intersect the specified shape. The results indicate PhysicsShape that intersect the specified cast shape, in ascending order.
OverlapAABBFind PhysicsShape whose AABB overlap the specified AABB. The results indicate PhysicsShape AABB overlap the specified AABB, in no specific order.
OverlapPointFind PhysicsShape that overlap the specified point. The results indicate PhysicsShape overlap the specified point, in no specific order.