Please check “Easy Waypoints - path system”, this is universal and powerful waypoint system allows you to create waypoints and path easily and even in run-time.
Features:
You can use it for any situations where path/waypoints following are needed:
• Moving platforms
• AI movement and patrolling NPCs behavior
• Obstacle avoidance
• Animated environment objects
• etc.
System supports:
• Dynamic path changing (i.e. even characters can be turned into waypoints)
• Paths intersecting and common/shared waypoints
• Different looping types
• Different facing /movement types
Moreover you can trigger delays and any other actions/functions right into waypoint!
This system works on all platforms supported by Unity3D.
Especially intersecting paths is a nice feature I always wanted in a waypoint system. I will definitely purchase this, thank you
(Seems like there will be some pedestrians walking in my game soon )
Good luck with your game, i’m sure some pedestrians can make environment even more live!
Pease don’t hesitate to contact me by mail (AllebiGames@gmail.com) in any reason, especially If you will need any assist.
1- How is the waypoints placement? (I mean, to create waypoint is just click in the place we want or, we will need to place and change the position to align the waypoint positions?)
2- Your waypoint system can name every waypoint like Waypoint_01, Waypoint_02, etc?
Hi, emergki
Thanks for your interest and please answers below:
1- You can place waypoint by adding(drag’n’drop) prefab in a desired position, or you can clone (Ctrl+D) existing prefab and then align it position in the same way as for any object in Unity.
Moreover if you already have some objects in positions you need - you can just assign Waypoint component to them. It means that you can turn any object(even that moves) to waypoint.
2- You can name every waypoint like Waypoint_01, Waypoint_02, cuz names come from GameObject name, that had Waypoint component attached (so you can rename waypoint in the same way as any game object).
1- I was asking if there an easy way to place the waypoints like just click in the place we want without need to position as any Unity object.
2- I was asking if your Waypoint system already create the names for the waypoints, so, I’ll don’t need to rename after creating the waypoints, the exactly name doesn’t matter, I only want that the waypoints can have they numbers without the need to me to rename every waypoint in the scene ( I’m telling this because every scene of one my game have more than 6.000 waypoints)
I got it. Thanks for explanation!
Unfortunately in this version system doesn’t have such features as “place waypoints by click” or “automatized naming for waypoints”.
So it looks complicated to handle over 6000 waypoints, sorry
I will work on such improvements, thanks for hints!
I just purchased this system for our game, which has a unique problem that many developers don’t have to work around - procedural generated terrain or levels. Our game mostly takes place outside on a deform-able terrain (think Terraria but in 3D, or Minecraft with modern looking terrain). The terrain is generated on the fly with Math (marching cubes) and then seeded with gameobjects that are children of the terrain. I am going to try your system today. My thoughts are to put the Waypoint holder script on the initial terrain gameobject that builds the terrain, then place the waypoint script on all the trees it seeds the level with, which end up being children of the terrain in the hierarchy. Not sure if this is going to work but initially it sounded good in theory. Alternatively, I may just try seeding the environment with the waypoint prefab. If you have any other suggestions, or ideas on why this wont work, they would be much appreciated. Thanks! Our game uses the terrain engine developed by another community member here, for your reference:
I sent an email request before purchase and was wondering if you can help.
I would love to be able to rotate them around the pivot without any additional script to add, clockwise, anticlockwise and random clock or anti.
I would like the crabs to rotate around the pivot as they move along.
I was looking for a simple path editor, mostly because I need a quick visual way to build paths.
I have to implement a crowd system (2D) that takes the current camera bounds in account to recycle a person moving out the camera to make it re enter the other side with some randomization.
For this, I’d need the path system to:
be able to get the Y position in the path, or the percentage along the path or between nodes to be able to move an object right outside from the camera bounds at a determined X position. In a manner that works very similar to a f(x) function.
be as performant as possible since I’m on mobile. I may also not need splines if the moving direction vector of the entity I’m moving is not changing from a node to another (segmented/broken line).
That is, I don’t want the entities on a broken path to continuously recalculate direction on a flat line between two points, but only when reaching a path node.
Performance-wise, I may also use splines or other types of controlled smoothings if the performance hit on the update function for every entity (I guess 30 entities at a time or so) isn’t excessive.
I should be able to deactivate instances on a path, and let them resume in any moment)
I really need a way to vertically “drop” instances on a path, so a method to get a Y for every X should be provided or be easy to implement. Since the camera may teleport along with the player, I need to scatter objects on a path (it’s a side view game, much like a platformer) randomly inside the camera frustrum (well, I actually use a orthographic camera).
should be easy to setup a path in the editor, possibly being able to reorder the points in the path list from the inspector, or insert a node at a certain position to refine the path.
I’m kind of in a hurry because I’ve got a deadline relatively soon.
Hello Alessandro,
As far as I see EasyWaypoints should fulfill all your needs.
Anyway it’s quite easily can be extended/modified and I’ll be happy to help you with any issues.