I want to rotate an object towards a point using addTorque, but I cant wrap my head around how.

So, to break down my issue, I have an object that I want to rotate around the y axis to face the cursor. Using moveRotation provides an okay result, but it’s a bit too precise. For instance, if the player’s cursor happens to pass through a collider, the object will instantly snap around to the other side, whereas ideally I’d like it to swing around and hit objects in the world somewhat realistically. To make this happen, I obviously need to find some way to use addTorque to rotate it towards the cursor, and have it slow to a stop as it gets closer.

I’ve seen a couple of forum posts about similar issues, but most of them either have incredibly vague answers, or no answers at all, so I’m still pretty stumped as to how to even start going about this.

MoveRotation will be easier.

Use RotateTowards to limit the rate.