By solany
on Mon, 10/07/2013 - 08:06
Hi,
I have a project where I dynamically create a Frame Marker and load Objects on runtime from the Resources folder. Up to this point everything works fine, the object gets augmented. But now I want to add some behaviour when the user touches the object. I first had a static marker with a static object and could add the behaviour with
gameObject.transform.GetChild(0).transform.RotateAround(Vector3.up, -deltaVector.x * speedFactor); when the script was attached to the Marker. What should I now use instead of gameObject to adress the marker (and obviously, the augmented child)? Thanks! - S
Object Behaviour with dynamically created Frame Marker
Hi, this is a Unity question, please post it here:
https://developer.vuforia.com/forum/ar-technical-discussion/unity-3-extension-technical-discussion
Object Behaviour with dynamically created Frame Marker
I moved it, thanks!