When an object falls and collides with the ground, an alert box should pop up displaying the message "Box just hit the ground".
However, there seems to be an issue as the alert box is not being created upon collision. Additionally, no relevant JavaScript console logs are being generated in this scenario.
If you want to examine the code base, it's available on my GitHub repository at this link. You can clone the project and run it in your Chrome browser. Check out the physijsBox.addEventListener()
section in the ****scripts/app.js**** file within the source code for more insights.
// Code snippet goes here
// For full code visit the provided GitHub repo URL above
For further information about PhysiJS collisions, please refer to these resources: