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

Regarding SeekBar for Horizontal Straight Line #1

Open
ghost opened this issue Nov 5, 2020 · 1 comment
Open

Regarding SeekBar for Horizontal Straight Line #1

ghost opened this issue Nov 5, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 5, 2020

Thank you for making the public this awesome work. It's not an issue actually. I had no other way to contact you.
How can I make the SeekBar for a horizontal straight line? I want to measure the perimeter of an object: measuring all the sides at once. So is there a way to tweak your project to work for that?
Your guidance will be appreciated.
Thank You

@luiscal4a
Copy link
Owner

Hi, thanks for appreciating my project. It should be relatively easy to make that adjustment on the project AR_Measure. As you know, horizontal seekbars are the default ones in android studio, if you need help creating one you can see AR_Simulator. Then you want to apply the same function to change the cube shape based on the seekbar position but applied to other dimension. As I guess it will be difficult to line up a face of the cube perpendicular to your shape you can use your fingers to rotate it accordingly, but if you do that you should lock the size of the object after creating it and unlock it only during seekbar transitions so as not to alter it manually. If you want to measure the perimeter at once you could also create two seekbars and place the cube in a corner, applying changes to the project to transform in length and depth instead of height. I hope this helped you. Feel free to fork my project and make any changes you want. If you want to later contribute to the project you can make a Pull Request and I will revise it. Happy coding :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant