Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do i make the player's character rotate to the mouse?

So, i am trying to make an attack system where the player throws a rock in a certain direction. However, i think it looks goofy when the player throws forwards but the projectile goes backwards.

What i'm trying to do is make the players' character rotate towards the current position of the mouse. But i have no idea how to do that.

(The game that i'm making is in R15, so if you're about to post a line of code, please make it R15 compatible.)

2 comments

0

Please make sure to use your resources before posting to the site :)

0

^

1 answer

This question was answered Here!

And Here!

Oh and also, you should rotate UpperTorso for R15.

This discussion is preserved as it was. New answers, comments, and votes are closed.