For a simple game I am making, I was wondering if any of you can help me make some sort of a screw emulation.
There’s a base screw-head and once the screwdriver is at hand, while pressing the left mouse button, the user must make circular motions around the screw head a couple times to screw open the screw. Is this possible?
I have tried several small pseudo codes, but to no avail.
I tried using a pseudo drag and drop combined with the _rotation methods, but my actual code fails.
I tried following this code:
Detect left mouse click.
If (clicked near the screw) ->
Get the original mouse locations _xmouse & _ymouse
drag the invisible MC
Can someone lead me?
thanks