A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Probably a little too late , but how can i actually do stuff with corners? Say i want to cast a ray from every corner, or instantiate a sphere in...
Yeah you're right. Thanks.
How can I do that?
Im trying to access Vector3 corner = NAVMESH_CORNERS[ c ]; starting position but i get the following error : error CS0122: 'c' is inaccessible due...
The only thing I got working is something like this : Vector3 fsmPosition = fsm.aiTransform.position; Vector3 fwd =...
Serge, how can I make AI avoid the corner of the map? Edit : Im just at loss, I cant figure this out. I tried bunch of methods but it just doesnt...
I see. But removing static from the code i get the following errors on a different code : error CS0120 at line 4: An object reference is required...
Hello. I want to cast a ray from IsNearCorner : static public bool IsNearCorner( Vector3 pos, float dist ) { Vector3 fwd =...
Never mind. Moved the NavMeshAnalytics script to the same folder as the ai flee state script. Now it works! Thank you for everything! Good luck to...
Serge, what is wrong with this script? Why am i getting errors: error CS0246: The type or namespace name 'NavMeshAnalytics' could not be found...
Can you please edit the script example I've given you?
Wow. This is phenomenal. More than I could ask for. Thank you. But, I have no idea where to even begin, like it's complicated and excellent at the...
Hi and thank you for your response. Can you please provide script example? Would love to see how that would look in a code.
Actually this method only finds edges not the actual corners. Is there a way for it to detect CORNERS only?
Hi Lethn, I found a way to DETECT when the Ai is CLOSE to the corner of the map. Once it's close enough, then, Debug.Log (''Message'');. However I...
I see. And thank you for your response. Can you provide an example of how that would look in code though?
Can someone please provide a script example?
Hello everyone! I use Ai Behaviors Made Easy for my game development. I was going to ask how can I stop Ai from becoming forced into the corners...
I use Ai Behaviors made easy for my game development! I was going to ask how can I stop Ai from becoming forced into the corners of a map when...
Hello Nathan, I really hope this thread is still active! I just want to say I love your work and that I use Ai Behaviors for my game development!...