box-collider
Purpose Detect collisions precisely between a point and a box shaped entity Schema attribute name: colliderSelector description: CSS selector of entities to collide with. type: string attribute name: skipTicks description: How many tick updates should be ignored before computing intersections again type: Number default: 0 (check for collisions on each tick call) Usage Import the component with: <script src="https://raw.githubusercontent.com/jdjuli/vr-programming/main/static/js/box-collider.js"></script> Attach the component to the entity that will represent the ‘point’ of the intersection (i....