Features:
This first tool is Shadow Detect. This is a easy way to detect that your character enters in a shadow. This script uses the raycasting system of Unity. This script is used to call event when a character enters (or exit) in a shadow, or detect the object which makes this shadow.
--------------------V2--------------------
- Now you can choose different targets which, according to the detect mode, it needs at least one target or all on shadow to call the different events.
- And you can choose the raycasting rate to improve your FPS.
You can modify the “Shadow Detect” easily to evolve it. I’ll try to improve this script according to your comments. Do not hesitate if you have any questions or to give me any advices.
Supports on all plateforms
If you have any questions:gloomyglowproject@gmail.com