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 136 forks source link

Ammo bounce #203

Open lijualivenow opened 2 years ago

lijualivenow commented 2 years ago

How we can bounce an object(ball) using Ammo physics?

mingyuen78 commented 2 years ago

set ammo-restitution for both the ball and the floor. i would put 0.3 to 0.6 some where below 1.