Ad
Log in to vote
0

Detect if player is looking behind character?

Asked by
A_Mp5 221 Moderation Voter
5 days ago

I'm making a head-turning system where the character's head faces the camera look vector and yada -yada. The script works perfectly, the head-turning part at least, but I need a way to detect if the player is looking behind their character and not forward. I've tried to use Dot and other CFrame and math functions but none of them worked. So how could I theoretically detect if a player is looking behind or forward to their character?

0
idk maybe use a ray abus_r 0 — 4d

Answer this question