01/05 - ARFoundation Indoor-Navigation - NO Cloudanchor, NO ARPointCloud, (almost) NO Coding!

Ғылым және технология

#AR #Unity #ARFoundation #ARCore #AugmentedReality #Android #Unity #Indoornavigation
This is a short tutorial about how to create an indoor navigation app with ARFoundation WITHOUT the usage of Cloud Anchors or using ARPointCloud Data. :)
Indoor Navigation Showcase:
- • Indoor-Navigation - Un...
Unity AR Foundation:
- docs.unity3d.com/Packages/com...
ZXing .NET Github repo:
- github.com/micjahn/ZXing.Net
The second part of this tutorial can be found here
- • 02/05 - ARFoundation I...
The third part of this tutorial can be found here
- • 03/05 - ARFoundation I...
The fourth part of this tutorial can be found here
- • 04/05 - ARFoundation I...
The fifth part of this tutorial can be found here
- • 05/05 - ARFoundation I...
The Github repository can be founde here
- github.com/FireDragonGameStud...
00:00 - 00:41 Intro
00:42 - 02:41 Basic Project Setup
02:42 - 19:30 Scene Setup
19:31 - 21:34 Scripting and further Setup
21:35 - 25:07 Fixing up everything
25:08 - 26:25 Build and Test

Пікірлер: 679

  • @anasfarhan9043
    @anasfarhan90438 ай бұрын

    Thank you for your tutorial.. Currently i been working to a project where i need to implement AR navigation around my workplace. I look forward for your next tutorial content :)

  • @ekanshrana9580
    @ekanshrana95802 жыл бұрын

    Great tutorial and thanks. Working on a similar idea. If the the user’s position can be determined by a marker or a qr code and then destination can be selected from list of multiple targets. But struggling a bit. Looking forward to your follow up video.

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    The follow-up tutorial is now online and will hopefully help you with your project 😃 -> kzread.info/dash/bejne/dWuIsKSykra1oZM.html

  • @nkl1999
    @nkl19992 жыл бұрын

    Currently working on an university project where we want to implement AR Navigation on Campus, your tutorial saved us. Thanks! Looking forward to more tutorials :)

  • @kishorevv1441

    @kishorevv1441

    2 жыл бұрын

    Hii , we too working on same project , Can we have a discussion online renderer

  • @nkl1999

    @nkl1999

    2 жыл бұрын

    @@kishorevv1441 If you give me your contact infos, I can hand them over to our developer. But we switched from Unity to an Swift IOS App and now work with ARKit, Worldmaps etc.👌🏻

  • @kishorevv1441

    @kishorevv1441

    2 жыл бұрын

    @@nkl1999 Thank you so much if i need any info i will contact u

  • @Projees_YOP

    @Projees_YOP

    2 жыл бұрын

    @@kishorevv1441 Hi there! We are working on the same project, Can you help us with our doubts.

  • @aravindv504

    @aravindv504

    Жыл бұрын

    hi guys...Im also working on the same project. I have some doubts.Can anybody help me with that ?

  • @abhiramgullapalli1653
    @abhiramgullapalli16532 ай бұрын

    Hello, i'm trying to emulate the project, when i'm trying to use the application i see the map being projected in my phone ,also without any line markers , how do i resolve it, thanks in advance

  • @kiyawo3547
    @kiyawo35477 ай бұрын

    Hello once again! What type of project you used in this video? there are different types of project before you start to configure the project settings?

  • @firedragongamestudio

    @firedragongamestudio

    7 ай бұрын

    a normal 3D Core project will do :)

  • @pratishthasingh6102
    @pratishthasingh6102 Жыл бұрын

    @FireDragonGameStudio If I'm making model in blender or by the same method then would there be any measurement issues? like length of the collidor or room?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    as long as teh Blender settings are set to 1 unit = 1 meter and the scaling is correct -> No issues :)

  • @nswell1074
    @nswell10742 жыл бұрын

    Thank you for your tutorial.But I can't understand how the virtual room matches the actual room position and rotation, can you explain it?

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Very good question. The "secret" of this very simple approach is, that there is actually no real matching of room position/rotation, except for the starting position/rotation. Based on the starting position/rotation all locomotion is done via SLAM. This means the smartphone camera calculates the movement based on features found in the camera stream. If the feature detection fails or doesn't yield good results, the smartphone gyro and acceleration sensors will contribute to motion detection too. As a result, this approach works best in a feature rich environment. The next tutorial (hopefully released next week) will show how to recenter the virtual position with the help of QR code scanning, when the motion detection shifts or tracking is getting lost for various reasons. :)

  • @0GRANATE0
    @0GRANATE02 жыл бұрын

    hey FireDragon, thx for the tutorial, do you know anything about "Spatial Anchors"? Those where the AR App after it scans the envirenment knows where the user is, so that we don't need a QR code for the startin point?

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Hi, thx for the feedback 😃 yes I know about them and how they can be used. But I wanted to keep this tutorial series as simple as possible. Feel free to extend the sample with anchors. I'll consider them for a separate tutorial in the future 😃

  • @0GRANATE0

    @0GRANATE0

    2 жыл бұрын

    ​@@firedragongamestudio thx for your respone ^^ Do you know if ARcore CloudAnchors work for bigger buildings with multiple floors and rooms? And which one of those should I use: googles cloudanchors or azures cloudanchors or does apple also have one? and am I good to go when I just chose one of those and try to make them work on ios and android with ARfoundation? sooo many questions 🙊

  • @mokamig
    @mokamig2 жыл бұрын

    Greetings, do you have a course on indoor navigation on any platform, and can more options be programmed, to use it as a guide within a place? I would like to know.

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Hi :) Unfortunately there is no course, I'm just doing this for fun in my free time, which explains the long pauses between the videos. The guidance idea of yours is totally possible. Check out the second part of the tutorial, this should help you with your project :)

  • @andreamase6281
    @andreamase628110 ай бұрын

    Hello, great tutorial, but I have some problem with the dimension of the map. How did you dealt with that?, did you use real measurament?

  • @firedragongamestudio

    @firedragongamestudio

    10 ай бұрын

    Yes, I used real measurements.

  • @hschen1226
    @hschen1226 Жыл бұрын

    hello, thanks a lot for the nice video. may you know how android phone tracks your movement as you walk around? Use camera, GPS or Wifi?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Hi, the tracking is camera based with a SLAM algorithm. Details can be found here: developers.google.com/ar/develop/fundamentals

  • @DimitrisTheo
    @DimitrisTheo11 ай бұрын

    Hello, nice job! So with this you can scan a qr code at a place you are and you go to another qr code (destination) ?

  • @firedragongamestudio

    @firedragongamestudio

    11 ай бұрын

    yes

  • @l11nd87
    @l11nd87 Жыл бұрын

    Thank you so much for making this tutorial! however, when I tried to implement it on my own and import to my iPhone, the minimap is not displayed on the screen, what displayed instead is a white plane in the mid air, what might be the cause?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Good question, usually the moment you start the app on your phone, your phone itself becomes the world origin (0,0,0), so if you placed the white floor plane on y=0 is floats mid air. Check the other videos of the series, there are unfortunately a few of this small quirks.

  • @kiyawo3547
    @kiyawo35477 ай бұрын

    Do you have any tutorial on how to install the applications and libraries that I need and so that I can start and follow this guide? Thank you! I am currently working on a thesis and this tutorial is somewhat useful!

  • @firedragongamestudio

    @firedragongamestudio

    7 ай бұрын

    It's basically just Unity and the Android components (docs.unity3d.com/2022.3/Documentation/Manual/android-sdksetup.html). The rest should be covered in the setup chapter of the video :)

  • @ishadeshmukh288
    @ishadeshmukh288 Жыл бұрын

    Hello I implemented according to your video but in my case for a longer path the indicator resets to the start point or somewhere behind the current position and as a result of which the path goes beyond the destination. Is it because of numbers of corners in that path? Please help me out .

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Sounds more like a tracking issue. You sure, that the path length is the problem?

  • @ishadeshmukh288

    @ishadeshmukh288

    Жыл бұрын

    @@firedragongamestudio Thank you so much for reverting back. I am implementing this on my college floorplan . It is working well for others paths but for this one path which is a straight passage/hallway the indicator resets. Although when I am trying to run on a different open space environment for the straight path it does not reset. So I am not able to understand as to way this might be happening. I request you to please guide me through this issue.

  • @ameeransar5297

    @ameeransar5297

    Жыл бұрын

    Hi Isha, Can we get along to implement this project. I am doing the similar thing, in my case the line renderer not shoiwng

  • @user-yu5tb7pt2t

    @user-yu5tb7pt2t

    3 ай бұрын

    How did you solve the issue of the line renderer not displaying? @@ameeransar5297

  • @aerialartistry8899
    @aerialartistry8899 Жыл бұрын

    at 19:55 you say to copy and paste the code from repo, but I'm unable to locate the properly named file to copy its contents in to the script, PLZ help. what is the file named to be used?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    it's within the initial commit and named SetNavigationTarget.cs Nevertheless I'd recommend to go through all the parts of the tutorial and finish everyhing regarding the refactoring. After that you can use the repo and everything you learned to it's full extend 😃

  • @user-dh6tb1eg8p
    @user-dh6tb1eg8p4 ай бұрын

    Hey! If the user changes their location, does the code automatically adjust the new path and give new directions to the point instead of sticking to a predefined route?

  • @firedragongamestudio

    @firedragongamestudio

    4 ай бұрын

    Yes

  • @poojab3272
    @poojab3272 Жыл бұрын

    One more question. If i am going too use minimap. do i have to use 2 ar camera ? is it okay ?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Just one AR camera, the minimap camera can be a normal camera, which renders to a render-texture. The next parts of this tutorial will cover this.

  • @kiyawo3547
    @kiyawo35476 ай бұрын

    Hi it's me again! Thank you for the answers you gave last 3 weeks ago I have another question, whenever I start the app in the unity using the start button the sphere began starting to other area instead of the starting place? I don't know what's the problem with it do you have any idea what's the problem with it? Plus the version of this tutorial is pretty much outdated since unity changed some parts of the AR Camera now it is an XR Origin and they are using Tracked Pose Driver instead of AR Pose Driver (Input System) I might guess that might the problem why my sphere starts to different area instead of its designated starting point. I hope you answer this because the tutorial was really helpful and I learned a lot. I just need more answers ;-; thank u

  • @firedragongamestudio

    @firedragongamestudio

    6 ай бұрын

    Hi :) I already updated the github repo to Unity 2022.3 a few months ago and as far as I could test it, everything should work. The changes are minor and can be extracted via the github repo. For your problem, is your starting place at 0,0,0? Because in the editor, the XROrigin + Sphere should usually be at 0,0,0.

  • @kiyawo3547

    @kiyawo3547

    6 ай бұрын

    @@firedragongamestudio Thank you so much!!! :))

  • @userzummm
    @userzummm Жыл бұрын

    Thanks for this great video. I have only a problem. There are no errors and I made everything according to the tutorial. But if I build it, I can't connect it with AR camera. When I run the app on my phone, the Unity model comes out, not the camera. Do you know the reason?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Hi, there may be an issue with either your app privileges (camera permission) not set correctly for camera use, or your phone does not support ARCore. Pls make sure to check it :)

  • @userzummm

    @userzummm

    Жыл бұрын

    @@firedragongamestudio Thank you!! Now, i can use the indoor navigation with ar camera!! It took a really long time to make it. I think I watched your video series a thousand times in two months.(cuz i cannot understand english well..) I'm so happy today. Thank you for your kind reply and video.

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    @@userzummm Glad it's working now 😊 I'd love to support you language-wise, but my Korean is barely good enough to say hello and order food 😅

  • @kiyawo3547
    @kiyawo354719 күн бұрын

    Hello again! If I have a scanned object because I used a lidar scanner to map the area, does it need to have Environment, Wall Cubes and etc? or I just make that object as is? I know this is not relevant to the video but I still follow the video.

  • @firedragongamestudio

    @firedragongamestudio

    19 күн бұрын

    You can just use it, no modifications necessary :)

  • @yaseenmpuliyavu1253
    @yaseenmpuliyavu12532 жыл бұрын

    Hi Great tutorial. How can I add sceled(measured) room map in unity. Because when I implemented measurement was not good. Also navigation line also not visible. could you please help me.

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Hi, thx :) My room map is not scaled at all. It's the real measures in meters. The line renderer may not generate th path in your case, pls check the navmesh calculation and your agent if everything is set up properly.

  • @dieulam2830
    @dieulam28302 жыл бұрын

    @ FireDragonGameStudio big fan of your work. However, the arrow path is not displaying on the phone, how can I fix it? And do you have any method to display the arrow on the sample scene on unity to see if its guiding correctly?

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Hi, thx for the feedback. Just check out the next part of the tutorial, it should answer your questions 😃

  • @dieulam2830

    @dieulam2830

    2 жыл бұрын

    @@firedragongamestudio many thanks, mate

  • @dieulam2830

    @dieulam2830

    2 жыл бұрын

    @@firedragongamestudio By the way, do you have any tutorials on how to implement this AR navigation when travelling up or down the stairs?

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    @@dieulam2830 No, unfortunately not. I'm currently thinking about doing smth like this but we'll see ^^

  • @dieulam2830

    @dieulam2830

    2 жыл бұрын

    @@firedragongamestudio so do you have any approach ideas in mind to do the stairs things?

  • @lugosocialmediamarketing1846
    @lugosocialmediamarketing1846 Жыл бұрын

    realy educational video. thank you for creating

  • @luispatricioramirezfernand9587
    @luispatricioramirezfernand95879 ай бұрын

    Hi, great project. I've been trying to replicate it with my house but I couldn't. I'm handling with the scaling. I made the floor plan with real dimensions but when putting it onto Unity the characters move almost instantly to another room and cross walls. Actually, the line toggle it goes directly through walls to get the cube target. I've tried everthing and I'm not getting good results. Could you please help me with it?

  • @firedragongamestudio

    @firedragongamestudio

    9 ай бұрын

    Usually this is a result of a non-working navmesh + wrong starting point. Check out the following parts of this series, to get a better idea of how everything works together. This should help you with your troubles :)

  • @pratishthasingh6477
    @pratishthasingh6477 Жыл бұрын

    hello there, do we have to write our own script according to our floorplan? I've made te project but it's not showing the path :(

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Hi, that can happen if the Y position of the line renderer is too low. The next videos (!) will address this issue. The only things that must be changed are the floor plan graphic itself, the walls and the navigation targets. All the scripts are designed to work independetly.

  • @samarshrestha5068
    @samarshrestha506811 ай бұрын

    any idea how to create/draw the map after measuring the room? I drew a map but when i walk, i go farther than expected and the distance i walk aren't accurate

  • @firedragongamestudio

    @firedragongamestudio

    11 ай бұрын

    Either use a 3D scanner like LiDAR or a Hololens/MagicLeap for meshing with a device. The other way would be to just do it like I did it here and create cubes, which match the environment exactly.

  • @pratikwaghmare9887
    @pratikwaghmare98876 ай бұрын

    'NavMeshSurface' does not contain a definition for 'IsPartOfPrefab' and no accessible extension method 'IsPartOfPrefab' accepting a first argument of type 'NavMeshSurface' could be found (are you missing a using directive or an assembly reference?) I'm getting above error while creating SetNavigationTarget script. Could yo pease help me with that.?

  • @firedragongamestudio

    @firedragongamestudio

    6 ай бұрын

    I'm not quite sure, what exactly you're doing, but maybe you're just missing the using UnityEngine.AI; statement. Pls note, that newer Unity versions handle the NavMesh "package" differently.

  • @Meekieness
    @Meekieness9 ай бұрын

    Hello, I am getting kind of logical error when I run the application to in my phone. the directions from the min map(top downcamera) are correct but the ones showing on the AR camera are opposite compared to the one from the minmap

  • @firedragongamestudio

    @firedragongamestudio

    9 ай бұрын

    The most likely reason is your starting rotation, when launching the app. You'll have to align yourself to be precisely standing like you set up everything in the editor.

  • @nv7827
    @nv7827 Жыл бұрын

    Hi brother, ive created a 3d model based on my floorplan using sketchup. the measurements for the floorplan in cm and ive built it based on that measurements. now when i import the model into unity, did i need to change any settings for the model or just import it? cuz ive imported before and and did not change any settings, but still my system can't show the line. im thinking maybe because of the real world position. im confused about the real world position of my 3d model. enlight me with correct steps or guidance maybe.thanks

  • @samarshrestha5068

    @samarshrestha5068

    11 ай бұрын

    did your problem get fixed? if yes how?

  • @nv7827

    @nv7827

    11 ай бұрын

    @@samarshrestha5068 nope..still trying to do but same...its just when i walk forward the minimap shows im moving backwards in the map..idk why..

  • @firedragongamestudio

    @firedragongamestudio

    11 ай бұрын

    check your startpoint + orientation and make sure they are matching your model orientation. the next videos of this series will deal with a approach on how to "recenter" yourself in the virtual environment.

  • @randomstuff6734
    @randomstuff67342 ай бұрын

    Can I utilize this way for some large scale application? Such as an office floor? Should my dimensions be Real-life measurements or can I just use a foundation plan and build for it?

  • @firedragongamestudio

    @firedragongamestudio

    2 ай бұрын

    You'll have to use real life measurements, but just place simple geometry as often as possible. Already built this for a university campus and 5 floors and it works quite well :)

  • @randomstuff6734

    @randomstuff6734

    2 ай бұрын

    @@firedragongamestudio how does this works with multiple floor structure?

  • @firedragongamestudio

    @firedragongamestudio

    2 ай бұрын

    @@randomstuff6734 yes, check the follow up videos, I show how it's done there :)

  • @mzlati1
    @mzlati1 Жыл бұрын

    Hi, am I starting the wrong prject, as I have no settings for android. All I have is options for windows, Dedicated server and WebGL.I select 3d(core)while crating new project. What do i do wrong?

  • @mzlati1

    @mzlati1

    Жыл бұрын

    All fixed now, just did not have right modules installed)))

  • @raulpetre8062
    @raulpetre8062 Жыл бұрын

    Hello. So I measured the rooms of my house and I used paint to represent the map. I got to a resolution of 1380x690, but when I Run the app on the phone, my characters moves almost instantly to another room. I tried changing the scale of the "Environment", then I baked again in the navigator. It somehow made a difference but the character doesn't move accurately in the minimap. If I go left, it goes right, and things like that. I don't think it's a bout the rotation, because the logic somehow changes. I would like to ask you how can I modify the scale. Was the changing of the scale of the environment the right approach? Do you have any other suggestion? And why do you think the navigation doesn't work properly.

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Scale MUST be matching th real world, I guess your starting point was set wrong.

  • @raulpetre8062

    @raulpetre8062

    Жыл бұрын

    @@firedragongamestudio I think I need to recreate the map with cubes in unity. From what I read in the comments regarding your responses towards that question, I saw that I need the scale to be 1:1. So basically if a cube is 1 unit, it's one meter in real life. But I need to do that. Thanks

  • @samarshrestha5068

    @samarshrestha5068

    11 ай бұрын

    @@raulpetre8062 did making the map 1:1 fix your problem?

  • @raulpetre8062

    @raulpetre8062

    11 ай бұрын

    @@samarshrestha5068 Yes, it did help. You must have the real life scalings. One very important thing, is that you must start the app and hold your phone at the right angle. For example I said that If I move left, the app shows that I go right. You can solve that by holding your phone in different positions when you start the app. The origin of your starting point sets itself after you start the app, so the accuracy is based on how you found the "sweet spot" when starting the app

  • @warrockveteeran

    @warrockveteeran

    10 ай бұрын

    @@raulpetre8062 what do you mean by "You must have the real life scalings"?

  • @prabalsharma7240
    @prabalsharma7240 Жыл бұрын

    Hello,which view are you talking about,for easier placement of gameobjects over floorplan,and please tell how to enable it?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    not quite sure, what you're referring to... 🤔

  • @prabalsharma7240

    @prabalsharma7240

    Жыл бұрын

    When you are placing the game objects of wallls on floor plan,you are talking about a view to that is giving you 2d view of walls from top ,i just want to know that

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    @@prabalsharma7240 ah ok, yes I'm just talking about the mini map.

  • @prabalsharma3007
    @prabalsharma3007 Жыл бұрын

    as you rotate the floor cube by 180 degree but still its axis are in same direction only,but when i rotate my floor cube then my axis also gets rotated by 180 degree,can we plse tell me how to do it in your way?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    My coordinate system is set to World, maybe yours is set to Local. That can be changed in the editor scene view on the left upper side :)

  • @ayunishahira
    @ayunishahira4 ай бұрын

    Hi, I want to ask what if the indicator sphere sunddenly missing from the minimap in game. However in the scene I still can see the indicator sphere. What should I do?

  • @firedragongamestudio

    @firedragongamestudio

    4 ай бұрын

    Check near/far plane of the minimap camera, or maybe there is some kind of occlusion happening?

  • @kiyawo3547
    @kiyawo35473 ай бұрын

    Hello I'm back again I tried to create this using the latest version and I find some problems in XR Origin I did this tutorial step by step and then I build it and open the app the output just shows blank showing the skybox of the unity layout and I cant see my minimap and not opening my camera or somewhat I can't find fix in the forums :( how do I fix this?

  • @firedragongamestudio

    @firedragongamestudio

    3 ай бұрын

    You'll have to add the ARCamera Background for retrieving the camera image.

  • @kiyawo3547
    @kiyawo35477 ай бұрын

    Hello again! is there any possible way to add like meters on how far you are from point a to point b?

  • @firedragongamestudio

    @firedragongamestudio

    7 ай бұрын

    Hi, yes. You can just query the distance or use the path length, which is already in meters.

  • @dandi_saputra
    @dandi_saputra7 ай бұрын

    is it possible to add some place options using buttons. When option 1 is clicked it will show location 1, if you click option 2 then location 2 will appear

  • @firedragongamestudio

    @firedragongamestudio

    7 ай бұрын

    sure, I'll actually do that in a later part of the series, showing the various "locations" of a scenery with multiple floors. the debug UI uses buttons for this :)

  • @prabalsharma3007
    @prabalsharma3007 Жыл бұрын

    since my floor cube axis and axes of all other game objects are in different direction will it affect my project?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    it depends on your starting position/rotation, but it shouldn't directly influence your experience.

  • @shriniket7
    @shriniket72 жыл бұрын

    Nice tutorial. What approach would be the best if we want to have multiple destinations and the user has to choose which location he wants to go to? How can we set NavigationTargetObject at runtime?

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Thank you 😃 I tested a similar idea with QR codes as starting points and predefined targets. It's mentioned in the video as well, using ZXing (which I learned is actually pronounced Zebra Crossing 😳). All that's to change is the target for path calculation by scripting.

  • @shriniket7

    @shriniket7

    2 жыл бұрын

    @@firedragongamestudio Ok Thanks, I will look into ZXing. One thing I wanted to ask is if my position is fixed and I added UI buttons on my canvas for different rooms, will I be able to change the TargetCube(NavTargetIndicator) passed to Indicator based on the button click?

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    @@shriniket7 Well yes, that's absolutely possilbe, but it will require some extra logic. :)

  • @betelhemgebresilasse7419

    @betelhemgebresilasse7419

    2 жыл бұрын

    @@firedragongamestudio Nice tutorial !!! Can you share us when you test it with QR code as initial points and predefined targets ?

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    @@betelhemgebresilasse7419 Nice suggestion :) I'll try to create a follow up for this tutorial with QR code handling in March!

  • @likhitchand8967
    @likhitchand89672 жыл бұрын

    Thanks for the tutorial,But the navigation path is not visible (tapped the screen) for me even though there are gameobjects are visible(does accurate play major role in it ?), any guess how I can resolve it!? Is there any way to contact you !?

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    The usual pitfall would be the navmesh for the not visible path. Check if you forgot to bake it and If your agent is small enough to pass through the doors. Maybe the client is not in the navmesh, so check it in the editor first (i'll show a possibity for this in the upcoming video, so stay tuned :)). For the not moving indicator check the setup of the position constraint. :)

  • @likhitchand8967

    @likhitchand8967

    2 жыл бұрын

    Thanks for the reply, I kept indicator static by mistake so it wasn't moving, Navmesh is baked fine , will check out the client .When can we expect the video ?

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    @@likhitchand8967 glad you solved it! The video will be available within the next few days :)

  • @cretrazvan7435

    @cretrazvan7435

    2 жыл бұрын

    @@firedragongamestudio Hello, I have the same issue, everything seem to be in its place, when i place the cube few meters away from me it shows the path, but when i place it in another room, it's not working anymore, despite having the navmesh done. Is there a way to debug it or find out what is wrong with it? Thanks a lot. Also, could you upload your next projects on git and let us download it in case we miss something? Might be helpful, especially when it comes to some C# scripts.

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    @@likhitchand8967 The follow-up tutorial is now online and will hopefully help you with your project 😃 -> kzread.info/dash/bejne/dWuIsKSykra1oZM.html

  • @dandi_saputra
    @dandi_saputra23 күн бұрын

    I have entered the qrcoderecenter script, but for the accession menu, the AR camera does not appear

  • @tolcserygergely5389
    @tolcserygergely5389 Жыл бұрын

    Hi, I'm working on a little treasure hunting game for a family event, and it looks really great, thank you. I'm just wondering, how you set up the starting point in your app? you have to stand on the starting point? How the app knows the direction? I'm a developer with 10+ yrs of experience, but zero in mobil, AR, or unity :) The measurement in unity is tryin to be accurete, to the real world, and this is how the upp scale it right, or you set it up manually by trying again and again? thank you!

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Hi, yes you're right. The starting point must exactly be the same point, as where you start the app. And the measurements must bei equal to the real world. In the further parts a mechanism for matching your real world point to a point within the app is implemented. I call it "recenter" and you should check it out to expand your treasure hunting game 😊 Pls send a video link, after you're done implementing, I'm curious 😃

  • @tolcserygergely5389

    @tolcserygergely5389

    Жыл бұрын

    @@firedragongamestudio thanks. I didn't realize yesterday that there are other videos, I'll watch all of them. It's for christmas, and I have to put some tasks to make a real game, so I have a lot of things to do, but I'll write you when I'm ready, thanks again!

  • @tolcserygergely5389

    @tolcserygergely5389

    Жыл бұрын

    @@firedragongamestudio hey, sorry to interrupt, I've started to implement your great tutorial, I've just stucked at the nav mesh generating. It doesn't or it's there, just we can't see. I've tried to google it, settings all looks ok. No idea. made a video, if you - or anybody - has 2 minute to watch, I would be pretty greatful, kzread.info/dash/bejne/damKpaVpYJm3l6w.html

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    @@tolcserygergely5389 Hi, I'll have a look asap (pretty busy atm) and will post an update here. :)

  • @tolcserygergely5389

    @tolcserygergely5389

    Жыл бұрын

    @@firedragongamestudio hey thank you for your time, it's pretty lame.. I've asked on stack overflow too, idk maybe there is a community behind unity as behind blender? It would be helpful in the beginning.

  • @MeghaKallihal
    @MeghaKallihal Жыл бұрын

    Thankyou! Its a great tutorial. Does it work for a imported 3D model, will the minimap parameters still be same? and do we need to add layers even when the model is imported?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Thx, yes, yes (but a little different) and yes :)

  • @MeghaKallihal

    @MeghaKallihal

    Жыл бұрын

    ​@@firedragongamestudio Can you suggest on the minimap creation for 3d model? or what are the major changes to be done?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    @@MeghaKallihal Well, you'll have to create the minimap based on the model, not the other way round ^^ That aside, everything should work :)

  • @MeghaKallihal

    @MeghaKallihal

    Жыл бұрын

    @@firedragongamestudio hey I tried the same, but the camera does not appear when packaged, only the minimap appears on the screen.

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    @@MeghaKallihal check your camera permissions. Try uninstalling the app in your mobile device and redeploy again. It sometimes fails to ask for permissions.

  • @prabalsharma3007
    @prabalsharma3007 Жыл бұрын

    can we make floorplan without any exact measurements will it work properly? and how to implement and distinguish for different floors??

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    This video is just the first part of a 5 video series. The next videos will answer your question about floors and yes it will also work without exact measurement, but don't blame me if someone is hitting a wall or a door 😉

  • @rajaahad1297
    @rajaahad12974 ай бұрын

    how do i add AR camera in XR origin ? there is an option of camera offset and in that we have main camera , should i use that?

  • @firedragongamestudio

    @firedragongamestudio

    3 ай бұрын

    Pls check the GitHub repo, it's configured there.

  • @BloodVinksz
    @BloodVinksz Жыл бұрын

    I am going to make an Outdoor and indoor navigation app AR for our campus. Im still stuck on where start? Can you help me what should I do first?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Hi, well I guess a good starting point would be to watch these 5 tutorial videos.😃For your project, you can basically use everything presented here for indoor and outdoor usage, as this implementation relies on camera footage and default smartphone sensors. The later videos will introduce QR Codes for, what I call, "Recentering", which is basically smth like an anchor for 3D data to real world points. But you'll have to create some kind of simple 3D representation of your environment, this will be a very demanding task.

  • @unitydev2641
    @unitydev2641 Жыл бұрын

    Helped a lot, thanks!

  • @rithikag8451
    @rithikag84514 ай бұрын

    Thankyou for posting videos, it really helps me alot. I'm having a issues in my project, do i need to test the app at the same place and i configured the line renderer where the origin i fixed , but the line is not rendering in real time environment. please help me to sort this issue.

  • @firedragongamestudio

    @firedragongamestudio

    4 ай бұрын

    check if the line is to low and occluded by the minimap. the next videos of the series will tackle this problem, so make sure to watch them :)

  • @louanne5478
    @louanne54782 жыл бұрын

    Best tutorial out there!

  • @dandi_saputra
    @dandi_saputra27 күн бұрын

    I have made a plan according to real dimensions. And the line has appeared. But why doesn't the target direction match the one in Unity? For the environment, I have rotated it based on the X Y Z axes, but...The target location does not match. My smartphone already supports arcore

  • @firedragongamestudio

    @firedragongamestudio

    22 күн бұрын

    It depends how and where you started. This is a very important limitation of this project.

  • @yusufbenli7998
    @yusufbenli7998 Жыл бұрын

    What do you use as a device? Should the device have Lidar? With which steps can we install the application made for iOS on iPhone?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Running on my Pixel 2XL, no LiDAR required, only camera based tracking. Well it's ARFoundation, so simply follow the Unity docs for iOS deployment and usage ^^

  • @user-ti6lq8uy2q
    @user-ti6lq8uy2q7 ай бұрын

    Hello, great project, but I'm struggling for the dimension of the map, how did you resolve this problem?

  • @firedragongamestudio

    @firedragongamestudio

    7 ай бұрын

    One Unity unit is one meter in real life, that's the whole secret ^^

  • @jayeshsawant6337
    @jayeshsawant6337 Жыл бұрын

    Is it possible to make the same project in AR template? You have used 3D template, Right?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Yes, you can use the AR template and no I created everything from scratch. But it doesn't really matter, as the AR template is only a template, using the AR Foundation stuff ^^

  • @meghna7001
    @meghna70012 жыл бұрын

    Hey, I am facing an issue with the indicator of minimap. It should move along with me but it is deviating to left while I move forward in the navmesh. What could be the possible reason for this? Kindly Help.

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Hmmm good question, hard to answer... My wild guess would be that the orientation of the minimap is wrong 😅

  • @meghna7001

    @meghna7001

    2 жыл бұрын

    @@firedragongamestudio okay, and how to fix that?

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    @@meghna7001 Well... rotating the minimap about 90 degrees maybe?

  • @ekeshkumar-rc4hb
    @ekeshkumar-rc4hb Жыл бұрын

    hi sir! , that line renderer is not showing properly in my project, what modification can I do. it is not showing path at all.

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Answered multiple times in the comments and in the video itself. Check with InEditor debugging (introduced in the next videos) if a path is generated by NavMesh.

  • @santoshaji6770
    @santoshaji67702 жыл бұрын

    Thank u so much but a problem occured for me after I render th output ..When opening the app a black screen is appearing the camera is not working ...Is there any solution for this .??

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Hmmm... Maybe the camera permissions are not right?

  • @santoshaji6770

    @santoshaji6770

    2 жыл бұрын

    @@firedragongamestudio thank you camera worked but the cube is not static and is moving along with the camera ...I made the target cube static but still it's moving along us ...Is there any solution for this..???

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    @@santoshaji6770 If you followed the tutorial everything should work. Does your device support ARCore? You can try to implement the second part of the tutorial or get the github repo too.

  • @vignanramamurthi9092
    @vignanramamurthi909211 ай бұрын

    Hi I’m currently working in indoor navigation app but my unity software doesn’t have android settings under player in project setting . Can you help me how to fix this problem

  • @firedragongamestudio

    @firedragongamestudio

    11 ай бұрын

    docs.unity3d.com/Manual/android-sdksetup.html

  • @likhitchand8967
    @likhitchand89672 жыл бұрын

    Is there Something need to install in andriod phone other than built apk, i am still not getting navigation path. Or does it only work on pixel phones!?

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Works on every Android phone, no additional things required. Usually there is something wrong with you NavMesh configuration. But I'll publish a video this week, showing how you can test the path finding in Editor, maybe that will help you locating the error.

  • @likhitchand8967

    @likhitchand8967

    2 жыл бұрын

    Oh, thanks it should help 😃!

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    The follow-up tutorial is now online and will hopefully help you with your project 😃 -> kzread.info/dash/bejne/dWuIsKSykra1oZM.html

  • @snehashaji5580
    @snehashaji558028 күн бұрын

    While I click build and run I'm getting two messages as Android NDK not found or invalid. Please, fix it in Edit / Unity -> Preferences -> External Tools And No Adaptive Performance provider package installed. Adaptive Performance requires a provider to get information during runtime. Please install a provider such as Adaptive Performance Samsung (Android) from the Adaptive Performance Settings. what should i do? I'm using unity version 2022.3

  • @erenjaeger1242

    @erenjaeger1242

    23 күн бұрын

    In the unity hub add the Android build support module, if you have already installed it then you might have to reinstall the unity editor

  • @adityasprojects7126
    @adityasprojects7126 Жыл бұрын

    How did you create the map? Was the measurement exact? Would be of great help if you could let me know that.

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Hi, I just rebuilt everything in Unity with simple cubes and the measurements are in meters, like in the real world.

  • @adityasprojects7126

    @adityasprojects7126

    Жыл бұрын

    @@firedragongamestudio Does that mean 1 Unit in unity is equivalent to 1meter in real world?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    @@adityasprojects7126 yes 😃👍

  • @adityasprojects7126

    @adityasprojects7126

    Жыл бұрын

    @@firedragongamestudio Thanks a lot! This has been my dream project! Will follow this. Subscribed!

  • @resterdmg5343
    @resterdmg53436 ай бұрын

    Hello! It`s really great tutorial. But, when i tried to do this, when i start an application on my phone, it crashes or it shows only black screen. What i need to do? I use 2021.2.3f1 version of Unity. I test an app on Xiaomi redmi note 8 pro

  • @firedragongamestudio

    @firedragongamestudio

    6 ай бұрын

    I show a method for debugging in the following parts. Pls try that, maybe it solves your problem :)

  • @ashleshagosavi8953
    @ashleshagosavi89532 ай бұрын

    Hello, I followed exactly the same steps as shown in this video I did clicked 'build and run' but my indicator isn't initializing, it isn't tracing camera's movement, isn't showing augumented path. Unable to solve the problem please guide.

  • @firedragongamestudio

    @firedragongamestudio

    2 ай бұрын

    Feel free to check out the GitHub repo and the follow up videos. That should help.

  • @ashleshagosavi8953

    @ashleshagosavi8953

    2 ай бұрын

    Also is occlusion function necessary here?

  • @poojab3272
    @poojab3272 Жыл бұрын

    Bro ARcore camera is not working on my android phone I have Vivo YT21. Its not supported by AR. 1)Do I have to use AR supported android phone ? 2) Can I use Vuforia instead of AR session and camera. ? 3) If I use this vuforia do i have to change anything in the settings you done in your video. and I finally cleared the compiler error. thank you bro.

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    1) Yes 2) Yes, but with extended tracking and a few adjustments 3) The general setup will differ, but the most parts are the same.

  • @poojab3272

    @poojab3272

    Жыл бұрын

    @@firedragongamestudio Thank you so much for the reply

  • @rajaahad1297
    @rajaahad12974 ай бұрын

    I have a query . when you make wall material then what you do to make walls invisible? i didnt get it from the video

  • @firedragongamestudio

    @firedragongamestudio

    4 ай бұрын

    Select the Occlusion material from the shaders, when creating a new material.

  • @rajaahad1297

    @rajaahad1297

    4 ай бұрын

    I have done that but I didn’t understand how you applied it on walls to make them disappear

  • @firedragongamestudio

    @firedragongamestudio

    4 ай бұрын

    @@rajaahad1297 just apply the occlusion material to the wall cubes.

  • @nelloangelillo1334
    @nelloangelillo1334 Жыл бұрын

    Thanks for this great tutorial. I have only a problem: the cube is not in the navigation area, but the area is around the cube but don't hit it and the navigation line is not showing. In your tutorial, however, the cube is in the blue area. I tried to reduce the agent radius but nothing.

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Hi and thx :) The reason for this could be, that your cube is not elevated above the navmesh level. When the cube is static and at the same level as the navmesh it will become an obstacle and the area around the cube will be excluded from the navmesh generation.

  • @nelloangelillo1334

    @nelloangelillo1334

    Жыл бұрын

    @@firedragongamestudio thank you. Work!!

  • @kavinduweerasuriya7902

    @kavinduweerasuriya7902

    11 ай бұрын

    @@nelloangelillo1334 sorry can i know what did u do im pretty new to this and um having the same issue

  • @kavinduweerasuriya7902

    @kavinduweerasuriya7902

    11 ай бұрын

    @@firedragongamestudio but in the tutorial urs also in the same position, am i correct?

  • @radenviloger
    @radenviloger Жыл бұрын

    21.12 , why don't i show up top down camera and nav target object, the script is the same

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Wild guess: The canvas is in the wrong position, or the camera doesn't show the right layers. You can compare with the github repo in the pinned comment, or the video description 😃

  • @joshuadanieldsouza
    @joshuadanieldsouza5 ай бұрын

    hello, Excellent Project , I imported a 3d model instead of making a png map like shown in the video ,cause i've also created a 3d model of the room in revit application and then imported it in unity ,so should i follow the rest of the video . Because i didn't get how u created a map on paint did u just drew a room layout without considering its actual dimensions .

  • @firedragongamestudio

    @firedragongamestudio

    5 ай бұрын

    hi, you can just continue. the minimap creation is not a crucial part of the project. i drew the map in a scaled way, considering it's dimensions, but stretching the plane in the editor afterwards. just like a real map ^^

  • @joshuadanieldsouza

    @joshuadanieldsouza

    5 ай бұрын

    @@firedragongamestudio oh i get it now , also u scaled your floor(cube) to 6 on the x and 3 on the z axis so does that mean your room is 6 m and 3 m in length and breadth if so than 1 m = 1Unity unit , also thankyou for responding earlier

  • @joshuadanieldsouza

    @joshuadanieldsouza

    5 ай бұрын

    This is crazyyy my phone doesn't support Google Play Services for AR ,it is available for all realme(brand name) phone except for the model i have that is realme 8i . i can't run my AR app :(

  • @firedragongamestudio

    @firedragongamestudio

    5 ай бұрын

    @@joshuadanieldsouza oh no :/

  • @aditigandhi3630

    @aditigandhi3630

    5 ай бұрын

    @@joshuadanieldsouzado the units in unity work in this way?

  • @genesis2614
    @genesis26146 ай бұрын

    I have done exactly the same , but line and other virtual object also moves when I move . Is there any way to stop them from moving ?

  • @firedragongamestudio

    @firedragongamestudio

    6 ай бұрын

    they shouldn't move... pls check if the parenting of the objects is correct. feel free to check the github repo, link is in the description box.

  • @louanne5478
    @louanne54782 жыл бұрын

    Hi, I have talked to a couple people about this but alas no solution. When I launch the app onto an android phone for the first time it works perfectly fine, but when relaunching the app crashes afterwards. This crashing keeps occurring until I uninstall and reinstall the application. Does anyone have any idea what might be causing this?

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Sometimes this can happen, when the Android version installed on the PC (check via Android Studio) and on the Smartphone do not match. But there may be various other reasons, so you'll have to eventually test it out. You can checkout the github repo (link is in the pinned comment) too and try that.

  • @vedantnaikwadi5394
    @vedantnaikwadi53942 ай бұрын

    Sir ar session origin is not present now on unity there is XR origin shall i follow this video by using XR origin with same steps mentioned and: I m working on university project where professor told make entire computer department(floor in campus) for navigation can we connect somewhere so i can tell you about progress and advice too i have to present this project within 2 months only

  • @firedragongamestudio

    @firedragongamestudio

    2 ай бұрын

    Check the Github repo, link is in the description box. It already uses XROrigin :)

  • @vedantnaikwadi4130

    @vedantnaikwadi4130

    2 ай бұрын

    ​@@firedragongamestudio at 4:54 when ever i put my map it didnt get applied to that white plane🥲 plz tell what's is happening

  • @Kppro595

    @Kppro595

    2 ай бұрын

    Same problem ​@@vedantnaikwadi4130

  • @kiyawo3547
    @kiyawo354712 күн бұрын

    Hello! I have a problem with my Main Camera in my Unity it doesn't open it stays black despite I have XR Plugin Google ARCore ticked on but whenever I build and run and open my application it still shows black screen I already enable the permission to use my camera and still doesnt show. I am currently using version 2022.3.11f1

  • @firedragongamestudio

    @firedragongamestudio

    18 сағат бұрын

    Remove the app from your phone and reinstall it. Sometimes Unity messes things up. Otherwise an update to the latest LTS version of 2022.3 may fix your problem.

  • @user-yu5tb7pt2t
    @user-yu5tb7pt2t3 ай бұрын

    The line should render when the screen is clicked right? in my case the line is not rendering only. Only the target cube is showign

  • @firedragongamestudio

    @firedragongamestudio

    3 ай бұрын

    Check if your line may be too low. I'll explain a few fixes in the next videos, pls make sure to watch them.

  • @user-yu5tb7pt2t

    @user-yu5tb7pt2t

    3 ай бұрын

    to change the line height i should go to indicator then under components alter the index 0 and index 1 Y values, right?@@firedragongamestudio

  • @shahzaibshakoor3265
    @shahzaibshakoor3265 Жыл бұрын

    Hello, Great project. Its helping me alot am i am very thankful. I am having some issues regarding scaling i.e. I am working with a university building, I made the floor map according to dimensions but the factorized png comes out to be 1001x950 compared to what you have shown a 6x3 floor cube which causes a whole bunch of issues afterwards.

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Hi :) My first try would be to make the image smaller and just scale the plane with the material.

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    @@shahzaibshakoor3265 Maybe the line height is not correct. have you tried adjusting the line height? I showed how to debug and modify a few things in the next parts of this series.

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    @@shahzaibshakoor3265 This is normal, when Play in Editor, no worries :) It looks for either ARCore or ARKit which is obviously not present on PC.

  • @shahzaibshakoor3265

    @shahzaibshakoor3265

    Жыл бұрын

    @@firedragongamestudio Thank you very much for helping now every thing is working fine except for the touch count, i bypassed it by defaulting line toggle to true, i hope everything will work out once i put the button for line toggle

  • @janeeyre8288
    @janeeyre82887 ай бұрын

    Hello ! I'm actually planning on integrating the map that I'll be building with another app, how can I do that? App is based on react native

  • @firedragongamestudio

    @firedragongamestudio

    7 ай бұрын

    you'll have to generate 3D data at least. there are various ways to do that. your react native app could e.g. create gltf or simply a json file and then generate the room procedural in unity.

  • @janeeyre8288

    @janeeyre8288

    7 ай бұрын

    Could you explain a bit more, I'll be really grateful@@firedragongamestudio

  • @nasimamallick991
    @nasimamallick991Ай бұрын

    Hie, Nice Tutorial, but my issue is that i am unable to see the target cube as well as the line so what is the issue, can you please let me know?

  • @firedragongamestudio

    @firedragongamestudio

    Ай бұрын

    Check the other parts of this series, I explain a few things for debugging there.

  • @3dfootball482
    @3dfootball4822 жыл бұрын

    hello sir from where could i find the script code for SetNavigationTarget , i couldn't find it so i typed them all ,but after copying that script to Indicator my unity showing there is a bug ...... why ,now when i tried to open unity project it is showing enter safe mode or ignore , when i clicked enter safe mode i cant even find hierarchy , i entered to safe mode and its showing lots of errors based on scripts what can i do to fix them

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Hi, I'll share the link for the github repo this week. Check the pinned comment within the next days, for the link. :)

  • @aerialartistry8899

    @aerialartistry8899

    Жыл бұрын

    I have the folder from the repo, but unable to find the file named SetNavigationTarget, can't find the file to copy the correct script text, plz help

  • @itsmeet6455

    @itsmeet6455

    Жыл бұрын

    I need the SetNavigation Target file as well , as soon as possible! please help @FireDragonGameStudio

  • @genesis2614
    @genesis26146 ай бұрын

    How did you make blue indicator move in minimap since the script doesn't contain the code for that?

  • @firedragongamestudio

    @firedragongamestudio

    6 ай бұрын

    At 12:45 I simply add an PositionContraint to the Indicator (the Sphere is a child of it) and make it follow the ARCamera. As soon as the ARCamera moves in the real world, the Indicator will follow.

  • @eshanverma1496
    @eshanverma1496 Жыл бұрын

    Hi One query please - Does size of the floor plan matter ? How is the real world room size being matched to floor plan ? I mean how the length of the room will same as we created in unity ?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Hi, one unit in Unity is 1m in real life, so you just have to match this 😃

  • @eshanverma1496

    @eshanverma1496

    Жыл бұрын

    @@firedragongamestudio hi I did the same, but on ground the line is not getting aligned with the floor map.Any suggestion on how to calibrate the real world dimensions.

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    @@eshanverma1496 There is an issue where the Y position of the line doesn't match the tracked world. I'm addressing this in one of the following videos, so make sure to watch them 😃

  • @eshanverma1496

    @eshanverma1496

    Жыл бұрын

    @@firedragongamestudio where is the video ?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    @@eshanverma1496 In the Videos section of my channel 😃

  • @snapdrive7675
    @snapdrive7675 Жыл бұрын

    Hi first thanks for you video. Currently I investigate the problem that when I tap on my screen the navigation line does not show. I think something is wrong here, because when I move the green box moves to and does not stay in the room. Can you suggest where the problem is? Thanks in adanvce. You now have one subscriber more :)

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Thank you for your sub 😊 my first check would be, if the phone is capable of ARCore, had this issue once. Google provides a list of supported devices. Also check the ARSession an ARSessionOrigin if they are configured correctly. In case you wanna check general functionality you can download the Unity ARFoundation samples project and check if these work on your device. Sometimes removing the app completly and again "Build And Run" from Unity fixes this issue too.

  • @snapdrive7675

    @snapdrive7675

    Жыл бұрын

    @@firedragongamestudio Thanks for the information. I checked the phone. It''s capable of ARCore. It's an iPhone 12 Pro. I rechecked the configuration of the ARSession and the ARSessionOrigin it both worked fine. The only problem is, that when I tap on the screen the line from the Navmesh don't show up. But the method will called (tried with a print)

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    @@snapdrive7675 Hmmm, I'd suggest to first check all the settings (XRPluginManagement) for the iPhone, make sure to use ARKit not ARCore! And second, check out the next parts of this tutorial series, as the tapping/linie visibility stuff will be then debugable in the Editor. Hope that helps to track down the problem. 😃

  • @DungPham-xe3wz
    @DungPham-xe3wz2 жыл бұрын

    Many thanks. I love it

  • @minh_torang
    @minh_torang2 жыл бұрын

    Hi, is it possible to make a list of locations for users to choose their current location and their destination? And how to determine the user's starting location without using QR code? Thank you.

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Yes, it's possible, just check out the second part of this tutorial 😃 -> kzread.info/dash/bejne/dWuIsKSykra1oZM.html

  • @minh_torang

    @minh_torang

    2 жыл бұрын

    @@firedragongamestudio can I create a 3D model in fusion 360 first and import it into unity then do the similar steps in your tutorial? will it work the same as yours?

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    @@minh_torang yes, that should work :)

  • @minh_torang

    @minh_torang

    2 жыл бұрын

    @@firedragongamestudio thanks a lot 😄

  • @shahasjsjsjsjjs8980
    @shahasjsjsjsjjs89802 жыл бұрын

    hello bro why did I initially build the apk and there was no problem at all, and after that I edited in unity to move the target and after I rebuilt why didn't it appear, the navigation / directions didn't work, please help bro

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Well that's impossible to determine from this info atm 😅 I'm going to publish a GitHub repo next week, you can then try it with this approach.

  • @shahasjsjsjsjjs8980

    @shahasjsjsjsjjs8980

    2 жыл бұрын

    @@firedragongamestudio ok bro i'm waiting for it thank you

  • @user-hm5gl7tm1g
    @user-hm5gl7tm1g6 ай бұрын

    sir i am getting this error when i am trying to build UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002da] in :0 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in :0 UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

  • @firedragongamestudio

    @firedragongamestudio

    4 ай бұрын

    seems like there is an error in your android setup.

  • @jayodkavinda2813
    @jayodkavinda2813 Жыл бұрын

    Thanks for the tutorial!. My navigation line is not showing. Target object is working fine. what can be the reason?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Check out the next parts of this tutorial (links are in the description box), I'll tackle this problem there 😃

  • @rakshitha8213
    @rakshitha8213Ай бұрын

    What are all the changes required for our own blue print according to video go get a proper navigation?

  • @firedragongamestudio

    @firedragongamestudio

    Ай бұрын

    no blueprint here, it's unity ^^

  • @pranavvora1691
    @pranavvora1691 Жыл бұрын

    If I want to use this navigation app on my IOS device, all i have to do is just change my build settings to IOS?

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Well, basically yes ^^ But Unity's iOS build process involves a few more steps. The ARKit XR Plugin, which should be installed via package manager, a MacOS device for developing, XCode to finally build the project and an iOS device ready for deployment. That should sum it up :)

  • @muazsuffyanakhirruddin4608
    @muazsuffyanakhirruddin46085 ай бұрын

    Hi, great tutorial. i followed excatly your script but after exporting, there's no line forming to target cube. any idea why?

  • @syafiqahnurfarahain

    @syafiqahnurfarahain

    4 ай бұрын

    May i know how to connect with mobile camera?

  • @firedragongamestudio

    @firedragongamestudio

    4 ай бұрын

    maybe the line itself it too low. try making it higher in Y

  • @firedragongamestudio

    @firedragongamestudio

    4 ай бұрын

    you can always work with unity webcamtexture.

  • @ravinduyasith9548
    @ravinduyasith95487 ай бұрын

    Great project! Can you explain that how the map is connected with the real world, How's the mapping works?

  • @firedragongamestudio

    @firedragongamestudio

    7 ай бұрын

    It's actually a 3D model out of cubes which I built, based on the real world measurements. It's "mapped" via a predefined starting point, aka where you start the app. In further videos this "recentering" will be done with QR codes and for the 3D model data you can use a scan from iPhone, Hololens or Quest3 too :)

  • @farukiyxd
    @farukiyxd4 ай бұрын

    hey your vids is helping me alot but im having difficulty on this can anyone help? Assets\Scripts\SetNavigationTarget.cs(30,43): error CS1061: 'Vector3[]' does not contain a definition for 'Lenght' and no accessible extension method 'Lenght' accepting a first argument of type 'Vector3[]' could be found (are you missing a using directive or an assembly reference?)

  • @firedragongamestudio

    @firedragongamestudio

    4 ай бұрын

    Simply because you wrote Length wrong ^^ -> check it again.

  • @vasavikotta3381
    @vasavikotta33812 ай бұрын

    How to build and run the project I'm not having the indoor. Apk

  • @shahasjsjsjsjjs8980
    @shahasjsjsjsjjs89802 жыл бұрын

    hello sir can you help me, why is it that when I finish building the project it becomes an apk and after I install the apk and run the apk my camera doesn't work and also the mini map doesn't follow my walking direction my device : black shark 3 android : 10

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Well, the tracking is camera based, so it makes sense, when there is no camera, there is no movement ^^ For the camera permission error itself, the reasons are diverse, so you'll have to find it.

  • @shahasjsjsjsjjs8980

    @shahasjsjsjsjjs8980

    2 жыл бұрын

    thank you for answering my question, and I have found the error, so the error is that the device I am using black shark 3 does not support arcore and when I use the Samsung A7 2018 the application runs successfully. thank you bro

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    @@shahasjsjsjsjjs8980 You're welcome and thank you too for the feedback. Learned something new 😃

  • @thebookworm4567
    @thebookworm4567Ай бұрын

    Hey, we've followed this tutorial completely, bt right now when you open the app, the camera does open bt we can't see the path or the line renderer. Can you help us? @FireDragonGameStudio

  • @firedragongamestudio

    @firedragongamestudio

    Ай бұрын

    Maybe the line is too low?

  • @shinoji6461
    @shinoji64613 ай бұрын

    Hi! I build and run on my phone but when finish unity opening scene the app just being grey screen. Any idea?

  • @firedragongamestudio

    @firedragongamestudio

    3 ай бұрын

    try to uninstall the app and reinstall via unity build and run. sometimes the camera doesn't start properly.

  • @abhinayreddykothapally1445

    @abhinayreddykothapally1445

    2 ай бұрын

    Hlo will you pls help me To complete my project 😢

  • @priyanshumishra6118
    @priyanshumishra61182 жыл бұрын

    It will be very helpful if you make a tutorial for outdoor navigation like in a college campus 😀

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Very nice suggestion. I'll try to cover that 😃👍

  • @mokamig
    @mokamig2 жыл бұрын

    Thank you very much for the videos. You have some course on indoor navigation programming it, really very interesting to learn.

  • @chhayachouhan7249
    @chhayachouhan72492 жыл бұрын

    After building the apk, my phone only shows the game view as it is I.e.a minimap . I think my app is unable to get the access of my phone camera. I've checked all the permissions. But it's still not working. Please please help me with this

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    I guess there is an issue with your build settings. Check out the second part of the tutorial, as well as the GitHub repo. This should work.

  • @meghna7001

    @meghna7001

    2 жыл бұрын

    Same issue... can only see the minimap and not the camera streaming. Please help!

  • @chhayachouhan7249

    @chhayachouhan7249

    2 жыл бұрын

    @@firedragongamestudio Still not working :(

  • @firedragongamestudio

    @firedragongamestudio

    2 жыл бұрын

    Pls check if your smartphones support ARCore! The GitHub repo should work, otherwise i don't really know what could cause this problem.

  • @chhayachouhan7249

    @chhayachouhan7249

    2 жыл бұрын

    @@firedragongamestudio It worked..Thanks:) But im facing orientation of walking direction i.e. when im walking straight, the indicator is moving leftwards. Also, its not working in real time.

  • @SunnivaJohnsen-Bjrhusdal
    @SunnivaJohnsen-Bjrhusdal Жыл бұрын

    Very helpful tutorial, except I cannot get the navmesh path to work properly. I added a debug.log to display the corners.Length and it says there are zero corners, so the line doesn't display becayse it has no position points. I can't figure out what is affecting it

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Hi, yes the NavMesh is indeed a very tricky component. Usually the baking process may not succeed due to various factors (agent too wide, geometry too narrow, etc.). My first test is always to test the NavMesh without geometry, to check if the baking process was done propery. Then adding geomety step ba step to check the path calculation. This video does btw. not cover the in-Editor testing, but if you check yout pt2 'till pt5 (links are in the description box) then you should be able to check everything within the Editor and solve your problem. :)

  • @samarshrestha5068

    @samarshrestha5068

    11 ай бұрын

    did you find your solution?

  • @ecnonomosstan5811

    @ecnonomosstan5811

    11 ай бұрын

    @@samarshrestha5068 Yes, turns out the object that was navigating and its goal wasn't close enough to the navmesh. Like, one of them was floating too far above the mesh.

  • @farukiyxd

    @farukiyxd

    4 ай бұрын

    @@ecnonomosstan5811how did u fix it? Im having this problem where the line doesnt show

  • @ecnonomosstan5811

    @ecnonomosstan5811

    4 ай бұрын

    @@farukiyxd My "goal" object was floating too far above the navmesh floor, so the navigation couldn't find a way to get to it. Check that both the starting point and end point are close enough to the navmesh

  • @rahulbhandari6328
    @rahulbhandari6328 Жыл бұрын

    How can I put c# script if I don't have visual studio community version rather I have visual studio code, plz help

  • @firedragongamestudio

    @firedragongamestudio

    Жыл бұрын

    Here you go: code.visualstudio.com/docs/other/unity 😃

Келесі