#how to detect if the local player is looking at an object?
1 messages · Page 1 of 1 (latest)
Vector dot
how would i do that with vector dot
Subtract the object and Player Head Position
Normalize it
Plug it into LHS on vector dot
Plug in Player Forward Vector on RHS
Acos the result
Get a less than chip
If the angle is less than 90
Then player is looking at object
If the angle is NOT less than 90
Then player is NOT looking at object
found 55-65 to be the best ty 
😁👍🏼
Ik you made this a year ago but would this mess up if there’s a wall
@bronze coral
Then just check if there’s a wall by a raycast