Is it possible and how? I can only see an action of NPC follows but that is only depending on a trigger or hotspot.
In general how can I use the raycast features of Unity
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Your question is vague though. Do you mean an NPC detects your player/character as it moves nearby, like in a startegy game?
Not good enough. I worked with PlayMaker before and now with AC just to avoid being involved with scripts.
Playmaker has a Raycast Action From Game Object plus checking distance and whether it hit or not so at the end I had just 4 Actions to check whether the Player was within a distance and whether the raycast hit it which means it was seen.
Now I could use this simple routine if I could trigger it from AC by sending an event ????
would it be possible and can you give me a clue as to how to implement it?
Essentially you want to write "PlayMakerIsPresent" in your game's scripting define symbols (in the Player Settings), to let AC know that it's safe to reference PlayMaker. You can then use the Third-Party: PlayMaker Action to call a PlayMaker Event.