Hi, I have this issue where MARS places objects hanging off the table. How can I make it find the center of the table and place it there? Also once the object is placed I would like the user to have an option to adjust the location in xz and the scale of it. Is that possible? I would appreciate your help
By default when you author a proxy it will be centered - you can see where itās position will be by looking at the plane visualization in the scene view.
Example:
Iām guessing in this case your content is already is centered and what is happening is the detected plane is merged between the chair and the table. This is a typical device limitation pain point - but also why our device view displays āimperfectā data - your intuition to have a user adjust the location xz + scale is a good solution.
Adjusting the position/scale/rotation after placement is possible. There isnāt anything really MARS-specific about that so we havenāt offered an out of the box solution for it - you would select and move it like any other object in Unity. An update of the direct placement template is going to have this functionality as well - Iāll ping this thread when itās available.
Thanks Is there a template called ādirect placementā? As I understand adjusting the position/ scale/ rotation is aleardy possible in XR Interaction Toolkit? Unity Blog Does MARS allow to access these features in a way that does not require to code?
You can find the direct placement template in this thread (itās in active development):