A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Send me a private message if you need me help.
This is the technique I use with UGUI, but it's not optimal. Btw TouchScreenKeyboard.area don't work on Android and TouchScreenKeyboard...
I want to know if is it possible to adjust layout when soft keyboard appears (android and iOS keyboard)?
Actually, the keyboard...
I know, but I want to use Simplygone on Android and it work with USD...
I hope USD will be support on Android soon.
Create a script to spawn your object with rotation = Vector3.Zero
I'm little confuse because I'm not using multitracking like that actually...
Go back to:
foreach (ARTrackedImage updatedImage in...
hum, I think there a problem.
Do you Enable and Disable the prefab on tracking/untracking? Or do you Instantiate and Destroy on tracking/untracking?
You need to instantiate it in UpdateTrackingGameObject.
Check if it's instantiate, if yes: Update the position and rotation of the prefab, if...
The eventArgs.removed isn't call when the image isn't track. It's used for an other purpose.
Te destroy your prefab when your image isn't track...
@fabisfab, @xadvy write the answer! ;)
Can you show me your code?
The TrackingState need to be in :
foreach (ARTrackedImage updatedImage in eventArgs.updated)
May be this ARFoundation sample will help you.
Humm... In this way, I don't know...
Area target is a environement tracking, ARKit have a similar feature thanks to LiDAR. But ARCore didn't have it.
I recommend you to create a script to check if you touch a UI element or not.
Like doing a ARRaycast or PhysicalRaycast if :
Here is the link to this method, you need to give a GameObject and the Position. Maybe the PoseDrive GameObject and is current position will work.
Thanks to your answer.
If I understand: if the anchor is attach to a plane, I need to keep the PlaneManager active to update the anchor....