I am trying unsuccessfully to follow a c# tutorial, but using playmaker.
Here is a screenshot of the code:
https://ibb.co/k2XtMmgI need to break down each of the steps and replicate them using playmaker, but it's quite confusing and I would greatly appreciate your help.
The player using their mouse control a paddle.
This paddle using a raycast is positioned either on the top or the bottom of a defined play area top of screen or bottom of the screen.
The paddle is then moved to this new position.
This paddle follows the user's input.
I have achieved to raycast in 2d, but this raycast doesn't take into account the mouse position.
I tried too use mouse follow 2d, but that's not right either.
I don't believe there is a custom action, but maybe there is?
Not to state the obvious, but I think I need this setup.
1. get the mouse position 2d. store it.
2. raycast to check where I wish to place my object.
3. update its position, using the information?
All sounds simple but beyond my limited knowledge.