A spaceship has an initial position of (0,0) in the middle of the screen and an asteroid with mass 30 units is located at (80,-80). The spaceship is stationary and is not moving while the asteroid moves towards the center of the screen at a speed of 40 units/second. Imagine that the ship has a shield power up that is used to repel objects and can be used to apply a force of 50 units in a direction that is normal to the point of contact (90 degrees) from the moment it contacts the shield. The shield is only active when objects are within 20 units from the ship. Consider the gravitational force, with g = (0,-1). Consider the physics-update rate to be 1 frame per second. Show all calculations that will have to be done to correctly place the asteroid at the proper locations using Newton’s laws of physics: a. Where would you draw the asteroid at Frame 4?

icon
Related questions
Question
A spaceship has an initial position of (0,0) in the middle of the screen and an asteroid with mass 30 units is located at (80,-80). The spaceship is stationary and is not moving while the asteroid moves towards the center of the screen at a speed of 40 units/second. Imagine that the ship has a shield power up that is used to repel objects and can be used to apply a force of 50 units in a direction that is normal to the point of contact (90 degrees) from the moment it contacts the shield. The shield is only active when objects are within 20 units from the ship. Consider the gravitational force, with g = (0,-1). Consider the physics-update rate to be 1 frame per second.
 
Show all calculations that will have to be done to correctly place the asteroid at the proper locations using Newton’s laws of physics:
a. Where would you draw the asteroid at Frame 4? 
Expert Solution
steps

Step by step

Solved in 3 steps with 19 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS