Novaulis
|
  |
| Joined: 26 Aug 2012 |
| Total Posts: 373 |
|
|
| 18 Mar 2016 10:05 PM |
This's a problem I've been wrestling with all night. I set about learning about Pathfinding, which I did successfully, and the NPC works well until it needs to jump over something. Which... Is kind of a big problem.
So, that brings me to a question. How do I make an NPC jump when it hits an obstacle?
|
|
|
| Report Abuse |
|
|
|
| 18 Mar 2016 10:35 PM |
| When it hits a part? Well, set up a Touched function to check if the "hit"'s position is above the torso's height and if so, make Humanoid.Jump = true |
|
|
| Report Abuse |
|
|
Novaulis
|
  |
| Joined: 26 Aug 2012 |
| Total Posts: 373 |
|
|
| 19 Mar 2016 12:32 AM |
Well, here's the thing. I already tried that. I couldn't even get the .Touched to actually fire.
|
|
|
| Report Abuse |
|
|
| |
|
Novaulis
|
  |
| Joined: 26 Aug 2012 |
| Total Posts: 373 |
|
|
| 19 Mar 2016 12:39 AM |
No wait, that works. My mistake.
|
|
|
| Report Abuse |
|
|
| |
|