n5ro / aframe-physics-system

Physics system for A-Frame VR, built on CANNON.js.

Home Page:https://n5ro.github.io/aframe-physics-system/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No way to prevent body collisions

interstates21 opened this issue · comments

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

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.

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

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