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 » Scripters
Home Search
 

Use Pathfinding Service For Flying Objects?

Previous Thread :: Next Thread 
Knightofnight05 is online. Knightofnight05
Joined: 03 May 2014
Total Posts: 345
18 Feb 2017 09:14 PM
I've recently fell in love with ROBLOX's pathfinding service, and I want to use it for flying objects. Unfortunately, the pathfinding service assumes it's making a path for a character, or anything on land. Is there any way to make the pathfinding service work with objects that fly in the sky?
Report Abuse
RottenWraith is not online. RottenWraith
Joined: 16 Aug 2008
Total Posts: 1587
18 Feb 2017 09:17 PM
I haven't used the pathfinding service much, but maybe you could do something hacky like creating a temporary plane between the npc and the target destination. That could allow your flying npc to at least move in at least two dimensions towards the target pretending that the temporary plane is the ground.
Report Abuse
Knightofnight05 is online. Knightofnight05
Joined: 03 May 2014
Total Posts: 345
18 Feb 2017 09:23 PM
Yeah, that could work, but the object needs to be able to fly over steep objects, and based on my knowledge of the pathfinding service, it wouldn't be able to if I tried that.
Report Abuse
xXdrstattik33Xx is not online. xXdrstattik33Xx
Joined: 28 Oct 2015
Total Posts: 189
18 Feb 2017 09:38 PM
I would use raycasting to go over things on the ground like terrain. and maybe .magnitude to see if there is anything around the plane
idk
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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