Reputation: 53
How can I place a plane with infinite length using arcore. I want to do exactly like this github discussion URL. The I found solution for unity ARCore sdk : link.
So how can I achieve that using java?
Upvotes: 0
Views: 1157
Reputation: 1167
If you want to treat a detected plane as infinite, you can use Plane.isInExtent to check whether a Pose is in this plane.
If you want to use this in combination with some Sceneform UX functionality, you could create an own version of TranslationController that uses isInExtent instead of isInPolygon (the default way).
Upvotes: 0
Reputation: 4641
I think you're mixing up two different elements. in ARCore you have a plane which is mapped surface on which you can put your objects. Examples you've provided are referring to GameObject. You can put as big "plane" as wide/long area you've mapped using your camera. Because first, you need to map the surface. Of course you can put as big GameObject as you want but this is
Upvotes: 0