Im trying to create a control scheme fairly similar to Getting Over It by Bennett Foddy in 2D. But I’m having issue getting my script to decide which way to spin in order to point the “hammer” at the mouse.
I’ve got a circle acting as the player with its rotation frozen, and an arm sticking out of it attached by a 2D hinge which produces the physics I’m after, I have a script that adds torque either way depending on whether the mouse is above or below the player but this obviously isn’t the desired controls.
I haven’t supplied my script as it’s quite far from what I want and imagine a lot, if not all of it would need replacing.
Any help appreciated. Thanks in advance!