Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 5 years ago

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.)

0
Please make sure to use your resources before posting to the site :) minikitkat 687 — 5y
0
^ User#19524 175 — 5y

Locked by minikitkat

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

1 answer

Log in to vote
0
Answered by
AIphanium 124
5 years ago
Edited 5 years ago

This question was answered Here!

And Here!

Oh and also, you should rotate UpperTorso for R15.

Ad