-
Notifications
You must be signed in to change notification settings - Fork 0
How to use (for Unity3d)
Boris edited this page Dec 19, 2015
·
3 revisions
On this page you will find all the information on setting up A* 3D pathfinding algorithm in Unity3d, using Visual Studio. Just follow these simple steps:
- Start a new Unity3d project;
- Put all the scripts from
Unity3dfolder in this repository, and put them into yourAssetsfolder inside of your newly created Unity project. To do this you can download whole repository as a ZIP file, then extractScriptsfolder to something likeC:\Users\Public(can be different in your case)\Documents\Unity Projects\{name of your project}\Assets - Create an empty game object and call it
Gameor whatever. Then applyGamescript to it(location: Assets\Scripts). - Apply
OrbitCamerascript(location: Assets\Scripts\Camera)to main camera which was probably pre-created in your scene. Otherwise, just create one yourself. After that, create one more empty game object and set its position to something like (5, 5, 5) or whatever. Go to Main Camera Inspector and then to component calledOrbit Camera (Script). Choose your camera target object as camera target. - Hit
Playand enjoy the ride.