You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
I want to make a stun system like this
-
What is the issue? Include screenshots / videos if possible!
I don’t know the best way to implement this, tried using touch event but there is a problem -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have tried using a touch event since there is no touch even for a spotlight so I make a transparent cone for the fake light and just join it to the flashlight, but there is a problem with the touch event, a touch event is not fired when the object stops moving, it will make the damage not consistent, I want to make a system like, if the light touch the ghost for like 3 seconds the ghost will be stunned