Log in or register to post comments

MultiArea script has little bugs

March 6, 2021 - 9:18am #1

Hi,

On multi area script, something is not working right, 

I have multiple children objects under each AreaTarget objects, but when I run the game, some of the objects are not reassigned back to the corresponding Area Target object.

 

The MultiArea.cs script is from this tutorial: https://library.vuforia.com/develop-area-targets/combining-multiple-area-targets

I tried many methods on reaching all children but didn't work.

Please help. Thank you.

 

Best regards,

Felix

 

MultiArea script has little bugs

March 29, 2021 - 8:54am #6

Thank you. It works as intended. 

 

Thanks again for your smart brain and response. Appreciate it.

MultiArea script has little bugs

March 29, 2021 - 7:13am #5

Hi @chanfui,

We updated the document again to address an issue with the runtimebehavior of the script in Simulation Mode.

Please refer to the updated library article: https://library.vuforia.com/develop-area-targets/combining-multiple-area-targets

Let me know if it works for you.

Vuforia Engine Support

MultiArea script has little bugs

March 26, 2021 - 1:19am #4

Hi, 

R&D confirmed there was a bug when handling multiple gameObject per target and the script/documentation has been updated. When building the scene, the Augmentations should be placed under the perspective area targets( e.g place 'Gifts' game object under 'Kitchen')

Could you please try your first setup again?

Thank you.

Vuforia Engine Support

MultiArea script has little bugs

March 16, 2021 - 6:08am #3

Could you please test them by removing the Parent GameObject: Master Bedroom and Livind Room and adding mb-Sphere etc. under Multi Area?

Am I'm doing it right? Masterbedroom and LivingRoom are area target objects, they're under the parent MultiArea. mb-Sphere and the rest are augmentation objects, they're children of those Area target object.

When I click Run, those augmentation objects are not completely inherited themselves back to their Area Target parents respectively (First post image), where the foreach loop in the script is not working fine.

 

MultiArea:

Area Targets: 

1. Masterbedroom

2. LivingRoom:

 

MultiArea script has little bugs

March 15, 2021 - 2:33am #2

Hi,

The issue I believe is that you have parented some area targets. In our example we have 1 Parent GameObject with all the area targets being children.

Could you please test them by removing the Parent GameObject: Master Bedroom and Livind Room and adding mb-Sphere etc. under Multi Area?

Thank you.

Vuforia Engine Support

Log in or register to post comments