Skip to content

Check Box 3D

Physics » Check Box 3D

Description

Returns true if casting a 3D box at a position doesn't collide with anything

Parameters

Name Description
Position The scene position where the box's center is cast
Rotation The rotation of the cube cast in world space
Half Extents Half size of the cube that extents along its local axis
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 Square Cube 3D

Back to top