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

Imperfect collisions with moving static body

LorenzoVonMatterhom opened this issue · comments

I was trying to make a little tennis demo and play around with it (on the webXR emulator) but apparently collisions between the ball (a dynamic-body) and the racket (static-body attached to the controller) are not perfect and its hard even to move the ball slowly since it goes inside the racket and sometimes perforates it completely.
Is this normal expected behavior for the performance a JS physics engine can have no matter how much i raise the number of iterations?

Here is a little example:
https://codepen.io/LorenzoVonMatterhorn/pen/poEeJGg?editors=1000