3D ball kicking on the curve
I have assignment and I can't solve it :doh: Please can you help me:
This is the assignment:
In this assignment you should work on your old interface[I have built the interface ] to add the following features:
1- Using mouse Function you should let the user to choose where to put the ball (once the user clicks the mouse anywhere inside the playground you should draw a ball there) .
2- Let the user draw the Kick curve then the ball should go through this curve (Note here you should define the starting and end points).
To Draw the kicking curve you will wait until the user specify the path of the curve using mouse click ( note here that you will wait for 4 points i.e 4 clicks from the user ).
• The first click to specify where to draw the Ball.
• Clicks from 2 to 5 to specify the path of the curve (P1, P2, P3 and P4).
• Once completed, your program should draw the kicking curves passes through the specified points (Ball ,P1,P2,P3 and P4)
• Now your curve is ready and your program should have a menu with the following items:
1- Kick the ball (fast mode): your ball moves on the kicking curve quickly.
2- Kick the ball (Medium speed mode): your ball moves on the kicking with Medium speed.
3- Kick the ball (slow mode): your ball moves on the kicking with low speed.
Hint : use the Timer Function to control the move speed .
3- Your interface should be implemented in 3D environment .