Hello, guys!
I wasn't able to properly do a positioning of Viro3DObject based on a onClick coordinates from a ViroARPlane.
So have the following questions which might help me.
I have the following hierarchy
What coordinates are passed into onClick event? Are they absolute or relative to the plane coordinates?
The docs state that the click position are in world coordinates. But I don't think so based on what I see.
I've been trying to implement the following business logic:
select the plane and then place an object on a plane at the location of a touch. ViroARPlaneSelector can't do that, it just selects a plane and an object is placed relative to the plane.
Requirements:
Please go through this checklist before opening a new issue
Environment
Please provide the following information about your environment:
Hello, guys! I wasn't able to properly do a positioning of Viro3DObject based on a onClick coordinates from a ViroARPlane. So have the following questions which might help me. I have the following hierarchy
What coordinates are passed into onClick event? Are they absolute or relative to the plane coordinates? The docs state that the click position are in world coordinates. But I don't think so based on what I see.
I've been trying to implement the following business logic: select the plane and then place an object on a plane at the location of a touch. ViroARPlaneSelector can't do that, it just selects a plane and an object is placed relative to the plane.
My code snippet. snippet.zip