aframe-physics-extras: collision of dynamic entity with static gltf model
问题 I'm trying to catch collision event between a dynamic sphere and a static gltf model. I'm building the gltf entity the following way: const template = document.createElement('a-entity'); template.setAttribute('physics-collider', 'ignoreSleep: false'); template.setAttribute('collision-filter', 'collisionForces: false'); template.setAttribute('body', 'type:static; shape:hull'); // add position, scale, url etc // ... template.addEventListener('collisions', e => { // debugger; }) This code