Question: Here is the panda 3 d code. The environment is in 3 D . When we run the code, an environment pops open with three

Here is the panda3d code. The environment is in 3D. When we run the code, an environment pops open with three box objects, and three obstacles. When you click on the first object using the mouse, the second object moves. When you click again, the third object moves. Now, I need the following changes to the code:
1. Instead of a 3D environment, change the code so the environment is in 2D. There will still be 3 box objects, and three obstacles.
2. When I click on the first object, only the first box will move from the start location to the end location. When I click on the second object, only the second object will move. And same for the third object. Right now, when I click on the first object, the second one moves-so need to change that.
3. If I draw a box on the 2D environment using the mouse, then all the objects within that box will trigger their rrt and start moving from start to end.
4. When the object/objects are moving, I should be able to click on any of the moving objects which will then stop right there. Then if I click again, it will start moving again towards the end location.
Please make sure to give the right answer. Someone answered it wrong in the previous question.
Here is the panda 3 d code. The environment is in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!