Check Circle¶
Physics ยป Check Circle
Description¶
Returns true if casting a circle at a position doesn't collide with anything
Parameters¶
Name | Description |
---|---|
Position | The scene position where the circle's center is cast. Z axis is ignored |
Radius | The radius of the circle 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 2D physics engine. It won't collide with any 3D objects
Keywords¶
Check
Collide
Touch
Suit
Sphere
Circumference
Round
2D