 roto23
|
1.) I want to try the free version first, but can’t find it on the Asset store. What should I search under?
2.) Does it work on uneven terrain / mountainous terrain?
3.) I have soldiers and I don’t want them to walk into water, what’s the general strategy for that? I saw something called texture penalties?
|
 Aron Granberg
|
1. Only the pro version is in the Asset Store
You can download it here on this site instead:
http://www.arongranberg.com/unity/a-pathfinding/download/
2. No problem at all. It has support for using raycasting to figure out height, maximum slope values as well.
3. Create a collider on the water which you flag as unwalkable in the A* settings.
In 3.1 which is the next version, you will also have to ability to easily disable large areas of graphs manually (see latest post http://www.arongranberg.com/).
Textures are a pro feature, you could also use that to disable the water area (or put a really high penalty on it so that your soldiers will only cross the water if really necessary).
|
 NewB
|
Hi Im really thankful for this but I got this error when I imported the package Assets/AstarPathfindingProject/Editor/AstarPathEditor.cs(2093,39): error CS1502: The best overloaded method match for `UnityEditor.EditorGUILayout.ObjectField(UnityEngine.GUIContent, UnityEngine.Object, System.Type, params UnityEngine.GUILayoutOption[])’ has some invalid arguments
Im using an older version of unity (3.1)
|
 NewB
|
and this one too (forgot to mention :S)
Assets/AstarPathfindingProject/Editor/AstarPathEditor.cs(2093,39): error CS1503: Argument `#4\\\’ cannot convert `bool\\\’ expression to type `UnityEngine.GUILayoutOption[]\\\’
|
 Aron Granberg
|
Sorry, but the system is only supported from Unity 3.3 and higher (in the next version 3.1, I will drop Unity 3.3 support as well). So you will either have to change around in the code (mostly editor functions) or update to a newer version of Unity.
|
 NewB
|
oh i see, thank you for replying and for making such an awesome stuffs!
|