Add flying drones to your Unity game. Create games that are focused on flying drones, or have autonomous flying drones as part of your environment. The toolkit comes with:
scripts for drone behavior
two 3D flying drone models
a sample scene
a user manual
programming notes
You don’t need to write code for drones to patrol among waypoints, follow characters or other drones, or for you to control drones manually with keyboard or game controller. If you are inclined to program, the extensible architecture allows you to add new drone behaviors or integrate your own 3D drone models.
Hi @sarachan_1 , I have just discovered this package on the asset store and it looks great! I have a question about the follow functionality and exactly how it works. I would like a drone to be able to follow the player through interior environments; so through doorways and possibly some tighter corridors. So I am wondering if the follow behavior will work for this type of environment? What kind of pathfinding does it use?
Hi Hamesh81, thanks for your interest. The drones have two different modes for following. In one mode, the drone heads directly to the GameObject being followed, so that would not work well through tight spaces. That mode is more intended for wide open environments. In the other mode, drones will stay constrained to the straight lines connecting waypoints, but will maneuver to be as close as possible to the GameObject being followed. I have used that for example in city scenes, where I place a waypoint at each street intersection. I have not tried this in tight spaces, such as maneuvering through narrow passages, but I don’t know of any reason that it would not work. I understand that this is still somewhat limited and may not work well in a completely open world environment. I have not added more sophisticated pathfinding so that the drone determines its own path through an unfamiliar environment, taking obstacle avoidance into account. That would be a good addition; I will think about the feasibility of adding this. If this is not clear or if you have more questions, please reply to this post or send me an email at info@clockworks-games.com.
Regards,
Brion