Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
Check if a 3D point is in a vertical (non-rotated) box
Parameters:
- pos
- A string value
- boxPos
- A string value
- boxWidth
- A float value
- boxDepth
- A float value
- boxHeight
- A float value
returns a Boolean (true or false) value
Example:
1 | obj.inBox(pos, boxPos, boxWidth, boxDepth, boxHeight) |