Author Topic: Onbricklookat  (Read 480 times)

You should get the point really

like when you look at a brick and your cursor goes over it you can edit the Events to like:


Onbricklookat --> player --> kill

See, the issue with this is that to do this, you'd have to fire a raycast off everyone in the server to see where they're looking. And you'd have to do that constantly.


It's been done before, and there is a noticeable drop in performance because of it.

there's an event already for this, it fires a relay to the brick that you look at (with an output too, to fire the relay from the player)

there's an event already for this, it fires a relay to the brick that you look at (with an output too, to fire the relay from the player)
Except I think that he wants it so that it is constantly checking to see if the player is looking at the brick, and the second it is, an event is triggered.

Except I think that he wants it so that it is constantly checking to see if the player is looking at the brick, and the second it is, an event is triggered.
then keep firing relays from the player?