Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 26-Dec-2013 14:54:19

Alexandre_Brazil
Member
Registered: 8-Dec-2011
Posts: 227

Use PlugIt AR Marker (found) to trigger an instance file. XOS

I need to create a book for literacy of blind children. I intend to use the PlugIt AR marker to open the instance of the scenes (files. XOS) automatically (each letter is crafted in a file. Xos). As I've walked by Arkeon, I use something like:

marker p1.found -> instantiate p1.load
marker p2.found -> instantate p1.unload all
marker p2.found -> instantate p2.load

My doubt is the opening scene will loop, generating an error by overloading?

I will do tests and post the results here. If anyone has suggestions on this work, I will thank very much.

Thanks

Offline

#2 27-Dec-2013 11:49:35

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Use PlugIt AR Marker (found) to trigger an instance file. XOS

to be sure you load only one instance per marker found, you can add a switch plugIT to disable the link once it loaded.

marker p1.found -> switch p1.input
switch p1.left -> switch.switch right
switch p1.left -> instantiate p1.load
marker p2.found -> instantate p1.unload all
marker p2.found -> switch  p1.switch left //reset
marker p2.found -> switch p2.input
...

Offline

Board footer

Powered by FluxBB