Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Possibility to add measure feature ? #4

Closed
jakoby12 opened this issue Apr 17, 2019 · 9 comments
Closed

[Request] Possibility to add measure feature ? #4

jakoby12 opened this issue Apr 17, 2019 · 9 comments
Labels
enhancement New feature or request

Comments

@jakoby12
Copy link

Hi!

I'm new in Flutter and I wanted to integrate ARKit in my project. Thanks to you it's possible!

I'm very interested by this measure feature, and I would like to know if you can add this feature.

Thank you in advance!

@olexale
Copy link
Owner

olexale commented Apr 17, 2019

Hi!

That sounds like a great idea! Measure sample is on my plate. So let's keep this issue opened, I will get back as soon as I finish.

Thanks! ;)

@olexale olexale added the enhancement New feature or request label Apr 17, 2019
@AxelAmbert
Copy link

It would be realy great.
I'm excited to see that !

@olexale
Copy link
Owner

olexale commented Apr 24, 2019

Hey guys! I am glad to say that it works now :)
Please review Distance tracking and Measure samples.

@jakoby12
Copy link
Author

jakoby12 commented Apr 25, 2019

Hi!

I've tested Distance tracking and Measure, and I didn't find any bugs.
Maybe it's better to print the value on top of the screen to have a better read.
And also it can be more precise if there is a cursor to add points.

But it's already good!

Thanks for your great job!

@olexale
Copy link
Owner

olexale commented Apr 25, 2019

Hi!

Do you have an idea of how it should look in terms of API design? Will something like a forceCenterScreenForTaps option, which will force ARKit to use the center of the screen as a tap position, do the trick?

Thanks!

@jakoby12
Copy link
Author

Yep I guess it will be working with that trick. Or maybe a button which set points in the center of the screen. I don't know if it's much easier, what do you think?

@olexale
Copy link
Owner

olexale commented Apr 25, 2019

I've added forceUserTapOnCenter flag. You may add an icon (or plus sign) above the center of ARKitSceneView widget to make it clear for the user where taps are processing.
Could you please check?

Thanks!

@jakoby12
Copy link
Author

jakoby12 commented Apr 26, 2019

I couldn't add an icon to make it clear but all points are placed on the center of the screen when I tap everywhere.

Great job!

@olexale
Copy link
Owner

olexale commented Apr 26, 2019

Great! You may place a static icon in the center of the AR scene like that:

        Stack(fit: StackFit.expand, children: [
          ARKitSceneView(...),
          const Icon(Icons.add, color: Colors.white, size: 32)
        ]

Thanks for the testing!

@olexale olexale closed this as completed Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants