Uploader Comments (steamisM50)
All Comments (68)
-
just so people know, if you want the enemy to look at the waypoint, add
transform.LookAt(waypoint[curr
entWayPoint]); directly below
velocity = moveDirection.normalized * speed;
-
can you get him to wait at each waypoint for a few seconds?
-
@steamisM50 all your videos are confusing, or are they not in an order? What is the one you mean? If i use the raycast one wount it turn away when the player goes up stairs? (:
-
thanks i love the tutorials :D subbed :)
-
@steamisM50 The file extension is .js
So that isnt the problem. Im not sure but the problem might be this message that comes up every time I save a script: It says,
"Moving file failed
Moving
Temp/f250bb76f0c84b84fa663eb4e
2b7d666.dll to Library/ScriptAssemblies/Assem
bly-UnityScript.dll Failed: Access is denied."
Do you have any clue what that means??
Its very annoying, it pops up all the time...
This is great, good work man, With my game i am making lots of houses and stuff so i want the ai to be able to naviagate through these houses to get to the player and stuff including going up stairs. So is there a way to make the ai do this using this kinda method or is there a better way? Thanks in advance (:
XDGabzXD 3 months ago
@XDGabzXD If you go check out my A* tutorials, they cover the exact behaviour that you are asking about.
steamisM50 3 months ago
Im doing everything exactly as in the video and I keep getting this error:
"Cant add script behaviour OneWaypoint. The scripts file name does not match the name of the class defined in the script."
What am I doing wrong? Can someone help plz!!!! Thank you.
JasonDolan2169 5 months ago
@JasonDolan2169 Check to make sure the class is the same name as the file. It won't work otherwise.
steamisM50 5 months ago
@steamisM50 Ok forgive me for asking but where/what is the class?
JasonDolan2169 5 months ago
@JasonDolan2169 What is the file extension on the file, because if you are writing in CS, it has to have a class, if the file extension is .js then the error should be happening, but if it is .cs, then copy the contents of the file into a .js file...
steamisM50 5 months ago