Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
Check if two mathematical spheres intersect (1), touch (0), or are not touching at all (-1)
Parameters:
- posA
- A string value
- sizeA
- A float value
- posB
- A string value
- sizeB
- A float value
returns an Integer (whole number) value
Example:
1 | obj.checkSphereTouch(posA, sizeA, posB, sizeB) |