Skip to content

Check Capsule

Physics ยป Check Capsule


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


Name Description
Position The scene position where the capsule's center is cast
Height The height of the capsule in Unity units
Radius The radius of the capsule 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


Check Collide Touch Suit Character Fit 3D