Add new anchors via script
1. SDK Version:5.0.2
2. Development Environment: Unity-Android
3. Tracker/Scanner:Object Tracker
4. License Type(Free / Pro-One Time Fee / Pro-Subscription / Enterprise):Free
5. Target Device(Optional):
Hi,
As the title says, I want to know if is possible to add new anchors to the 3d map file via script. And if it is possible, would you mind show me the code that permits to add them?
Thanks in advance.
Thanks for your interest to our MAXST AR SDK.
We can't exactly understand your perpose.
Is the intent of the question to add a new anchors to the created 3d map file(*.3dmap)?
If you have other questions, feel free to questions us.
Best regards
Francisco
MAXST Support Team
Hi,
Sorry for my inaccurate question. What i want to know is if it is possible to add new anchors via script after i have loaded the 3d map file in my unity project.
Thanks in advance.
Could you want to add a new pin by clicking the'Edit Pin' button in Map Management in the Visual SLAM tool?
Are you trying to add pin as a script after learned 3d map file?
If not, please provide additional examples.
If you have other questions, feel free to questions us.
Best regards
Francisco
MAXST Support Team
Hi,
The second question you wrote is what i want to know. After Object Tracker has learned the 3d map file, is it possible to add anchors using a script? For example, in my project after i have loaded the 3d map file in unity i have added a box collider that contain the mapped object, When I run the app I need a function that create an anchor at the exact position where i touch the box collider. Hope I did explain myself better.
Thanks in advance
Our Object Tracker allows you to place new anchors in the point cloud,
picked up when learning an object.
Unfortunately, you can't place it where you want it to be.
Currently, We don't have the ability to add pins via script,
a function you want, but we're going to add it.
If you have other questions, feel free to questions us.
Best regards
Francisco
MAXST Support Team