Hi all,
I hope the header isn’t too confusing, it’s difficult to describe such matter in such short length
Anyhow, what I want to do is not supposed to be too difficult.
I got a scene where my camera is above a table and it is pointing towards the table from above, so the camera is actually showing a top view of the table.
On the table I have a ball laying still.
I need to allow the user to hit the ball while gaining momentum from one of the sides surrounding the ball, that way the ball would fly to the opposite direction.
For example as shown below -
- The user holds down the mouse on the right side of the table, far from the ball.
- The user moves the mouse cursor while still holding the mouse button towards the ball
- The ball collides with the mouse cursor, and depending on how “hard” it was hit, it should move to the other side faster/slower.
One thing to keep in mind - I need a method that will not be hard to port to Android/iOS touch interface in the future.
Thanks!!