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

How do I make a script that will function if a player LOOKS at something?

Asked by 9 years ago

Let's say I'm making a Slenderman game, I don't want to make Slenderman touching them and then they're dead, I want the player to be actually looking at Slenderman to die. How would I do this like in that Doctor Who game with the Weeping Angels?

1 answer

Log in to vote
0
Answered by 9 years ago

Well in Don't Blink it was much harder to detect if the player was actually "seeing" the angel, because of shadows and stuff, but normally creating a ray out of the player's head should be sufficient.

0
I need an in-depth answer please. Maybe an example. CharcterKaiser 0 — 9y
Ad

Answer this question