Start a new topic

Deciding what order the images appear and button pop-up animation

Deciding what order the images appear and button pop-up animation


Hey wikitude great software really love developing on it, I have a few questions as you can see in the subject line.

first one is there a way to decide what 3d and images that load first.

and second is there a way to animated buttons so they kind of pop up ? 

Thanks for the answer in advance 

- Thomas W. K. Mogansen

Hi!
Nice to hear that you like developing with our SDK.

1) The 3D models/images downloads/loads are started in order of there creation. Since multiple resources are loaded simultaniously, they will not finish in the same order as you created them (it also depends of the file size of course). But most drawables have a onFinishedLoading trigger, so you could start the next download after the previous one finished if you want to load one asset after the other.

2) Sure, you can animate all drawables using the AR.PropertyAnimation & AR.AnimationGroup. You can set specific animation curves so that animations look more smooth and natural.

You can find more information in our JS API Documentation which is included in the SDK package and also available on our web page.

Best regards

Andreas
Login or Signup to post a comment