Raycasting Issues
Phantom Whispers » Devlog
I am having an issue getting my ray casting to work. It casts the ray but I can not get it to register the enemy. I have attached a video with my scripts, inspector and gameplay, please help! I also attached a package with the scripts, prefabs, settings, and player in it, in this link https://drive.google.com/file/d/1g5gd-OwiSH8NMKxisPmH480Z9zHPTsmX/view?usp=shari...
Get Phantom Whispers
Phantom Whispers
Phantom Whispers is a 1st Person Fantasy RPG set on a planet similar to Earth, Terra.
Status | In development |
Author | Bird Brain |
Genre | Action, Adventure |
Tags | 3D, Fantasy, Singleplayer |
Comments
Log in with itch.io to leave a comment.
Looking at your code, there is nothing using your MagicRaycast method which seems to be the only thing that detects and does damage to enemies.
That was indeed the issue, thank you for letting me know!