How can I simulate to throw a ball to a wall with collision by Three.js and Physi.js?

How can I simulate to throw a ball to a wall with collision by Three.js and Physi,js? Could somebody give me an example? Thanks a lot!

Hello, I am a beginner too and i created a simple scene with physijs.
It’s basically a box that is falling on a ground and it is really simple.
For your code, i think you have to create a Wall with mass equal to 0 to make it freezed and then create a sphere with a vector in order to make it feel like it’s thrown by someone.

If you have an Oculus CV1 with the hand controllers, and firefox installed
you can see this demo.
https://sean-bradley.github.io/GrabVR/demo4.html
It uses physijs, threejs

You can shoot things and the things fall over.
Or you can even pick things up and throw them,

View the page source to see how its done.

Main project at https://github.com/Sean-Bradley/GrabVR