generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Game Design
Home Search
 

Re: How do I get an NPC to jump over an obstacle?

Previous Thread :: Next Thread 
Novaulis is not online. 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
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
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 is not online. 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
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
19 Mar 2016 12:36 AM
post code?
Report Abuse
Novaulis is not online. Novaulis
Joined: 26 Aug 2012
Total Posts: 373
19 Mar 2016 12:39 AM
No wait, that works. My mistake.


Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
19 Mar 2016 12:57 AM
o okay. nice
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image