AR Indoor Navigation from scratch in under 30 minutes with Unity 6
HTML-код
- Опубликовано: 18 сен 2024
- Become a member and get exclusive perks:
/ @firedragongamestudio
Github Repository: github.com/Fir...
AR Core supported devices: developers.goo...
AR Foundation Occlusion: docs.unity3d.c...
Unity NavMesh: docs.unity3d.c...
Can you also provide how to create secondfloors going up staircases
Omg was this the updated guide lesgooo, i was still dazzled from your previous guide where to copy the code
thx and the github links are in the description box :)
@@firedragongamestudio the previous guide bro, i still cant find it on GitHub, plz guide me, btw can you also make a video how to calculate the map to unity, its not scaling perfectly
@@firedragongamestudio bro i still cant at find the code at your previous tutorial,at the github,
and btw how to scale the size to match the map, i know the exact size of my plan site but where to change in unity
@@floweyishere7122 It's under Assets/Scripts. just use your appartement size in meters, when using a cube and a tenth when using a plane.
@@firedragongamestudio ooo so you scale the whole "environment file" to match the scale
can you provide tutorial for multifloor?🙏
ok i tried this tutorial and this work perfectly, can you make it like the previous tutorial, the minimap
How it works bro
On my list :)
Hello if I want to implement a real location threw map so what for that process and if want to add so many targets so how to do it? Plz guide me need your help very much for this 🙏
If I want to add an avatar for a gimmick, how should I do it?
not quite sure, what you mean with avatar for gimmick, but if you mean some kind of companion you can always add a character which either follows the path until the next corner or is near the player cam and points to the nearest corner.
Can you add an admin system in which you can remove, replace, and create target location? It would also be better if you apply the previous indoor nav features such as the search bar for location and the dropdown of the location, and the mini map... And btw is it possible to calibrate it without internet? Lastly, is it also possible that instead of tracking a qr like image... by just tracking the image of the place you can locate yourself or calibrate?
Line render randomly movie not stable .what problem this ?
If I want multiple targets?
There are multiple ways to do this. First you'll need to decide where to place the target and add it to the prefab. Next would be a way to select between the targets. This is usually done by some kind of dropdown UI. The selection index should somehow tell, which target to use for the path calculation. In the OnChanged event from the NewIndoorNav script, we're already selecting all available targets. In the update method you'll have to change the navigationTargets[0] in the NavMesh.CalculatePath to the navigation target, which you selected beforehand. Maybe with the dropdown index, name matching, etc. This would change the target of the path calculation and line renderer, which enables the usage of mutliple target. Hope that helps 🙂
How to this interact the real place how to measure distances.
what type of project u did? AR Core or 3D CORE ,, And if u dont mind i need any of your social account
It's just Universal 3D Core and sry no social accounts.
@@firedragongamestudio thank you , do you know hot to fix (failed to update android sdk package list see the console) error ?
@@areesbr6938 nope, you'll have to google that, sry
Nice but what if I run the app from somewhere else
I didn't find that in this video and the previous one
Meaning that every time I have to run the application from the same place so that it can track the target correctly. Is there a solution for this??
@@HaithamSmartUse you can just add another image target, delete the current prefeb on scan and spawn a different prefab, adjusted for this specific location. :)
Only unity 6? Previous versions can support?
If you use AR Foundation 5.2, you can use the same technique starting with Unity 2021+
@@firedragongamestudio love it !!!!
Nice but what if I run the app from somewhere else
I didn't find that in this video and the previous one
you'll usually use another image target for another place and design the environment in unity for that.
"I want to make my own project. Should I change your code or not?"
@@kathirarul4112 feel free to change it, so it fits your needs. it's open source for that reason too :)