Shoot ball on click using Ammo.js


#1

Referring this post by Ada Rose:[https://medium.com/samsung-internet-dev/game-physics-on-the-web-in-aframe-628fbf7c32a3](http://Basket Ball in AR) but the example is in web XR which is not supported by ios anyway I can bring the shooting physics in Zappar and do the basketball game such that on tap of screen ball is shot.


#2

Hi @mihir,

I believe that I have answered your support query, but just in case this helps anybody: you should be able to use any A-Frame specific physics functionalities in order to create this behaviour :zap:

For example, searching for an A-Frame physics solution comes up with results like this - Physics for A-Frame VR - so you have free reign over how you choose to implement this feature (it’s all about what suits your project as you’re in control)!

We also have Universal AR SDK for Three.js and React Three.js physics examples using third party libraries here and here respectively, so feel free to have a look at them for inspiration!

Have a great day!
Francesca :blush: