Log in or register to post comments

2 Image Targets

June 24, 2017 - 7:40pm #1

Please help me! I've been looking for a solution for this issue for a week, couldn't find anything.

This is what I need.

Let's say, I have  :  Image Target (A) with 3D Object Cat  , Image Target (B) with 3D Object Cat

What I want

If Image Target(B) is tracked

move Cat (Object of Image Target A) To Image Target (B) Object which is fish

If Image Target(B) track is lost , Make the cat go back to it's original position

 

my main question how to control an object of an Image Target if an other Image Target is tracked

and stop that event if the other target is lost.

 

 

PLEEEEEEEASE HELP ME

2 Image Targets

June 26, 2017 - 2:55pm #2

Hello mohammadou1,


If I'm understanding you correctly, you want to move your cat object from Image Target A over to Image Target B when you detect B. You will need to have both Image Targets detected in order to know the position of each target to begin the movement of the cat object. You can keep track of when both images are detected and access the game object for the cat to begin moving it towards the other target.


In order to track multiple targets at once, be sure to set your configuration values correctly. Open Vuforia Configuration on your ARCamera and set the field called "Max Simultaneous Tracked Images" to at least 2 in order to allow your app to track multiple images at a time.

Thanks.

Log in or register to post comments