Question: I need help with this problem please. This is the code that we need to start with. Glowscript exercise 9-25-18 Start with springybounce code on
Glowscript exercise 9-25-18 Start with springybounce code on blackboard, and accomplish the following tasks: 1) Calculate the net force acting on the object. A common force is missing. (0.1) 2) Use Euler Cromer method to update position. (0.4) 3) Create the floor and two walls for the ball to bounce off of, making the opacity of the front wall of 0.2. (0.2) 4) Add if statements for bouncing for each direction. Change initial momentum and get the ball to bounce off of all side walls. (0.3) Hint: start by just bouncing ball off of the floor, then add walls. (+0.1) 5) Bonus: Create a graph of either x or z position as a function of time. Hint: run code after each step to ensure it works
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
