Skip to content

Check Sphere

Physics ยป Check Sphere

Description

Returns true if casting a sphere at a position collides with something

Parameters

Name Description
Position The scene position where the sphere's center is cast
Radius The radius of the sphere in Unity units
Layer Mask A bitmask that skips any objects that don't belong to the list

Example 1

Note that this Instruction uses Unity's 3D physics engine. It won't collide with any 2D objects

Keywords

Check Collide Touch Suit Circle Circumference Round 3D