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

Cones have Inverted physics

VGBoy opened this issue · comments

commented

While testing something with dynamic bodies and static bodies. I have found that dynamic body physics are inverted for cone primitives. This seems to only apply to those shapes, as others have proper hitboxes.
Cone Physics Reversed.zip

See donmccurdy/three-to-cannon#27
Unfortunately, even if it gets fixed right away, it won't immediately fix the problem here, since we're not (yet) using the latest version of three-to-cannon.
If you need a temporary workaround, you can edit your local copy of aframe-physics-system/node_modules/three-to-cannon/dist/three-pathfinding.js, replacing 90 with -90.