n5ro / aframe-physics-system

Physics system for A-Frame VR, built on CANNON.js.
https://n5ro.github.io/aframe-physics-system/
MIT License
505 stars 137 forks source link

No way to prevent body collisions #150

Open interstates21 opened 4 years ago

interstates21 commented 4 years ago

Is there any way to disable collisions? Seems like 'collisionResponse: 0' param is not passed.

cesmoak commented 4 years ago

I've been able to prevent reactions to collisions but still get the collision events by setting collisionResponse = 0 on the body, itself. So, in js in a component on the same entity as a body, something like: this.el.body.collisionResponse = 0.

donmccurdy commented 4 years ago

Could you share the scene configuration, or a simple example? Is a specific driver set?

<a-scene physics="???">