Question by
aceb · Dec 10, 2015 at 05:30 PM ·
iosinstantiatevuforia
ios + Vuforia object not instantiates
Hi! For optimisation I instantiate AR object after recognition. This script attached to empty object with Mesh renderer. Empty object is child of ImageTarget. All works perfect on android, but on ios no object instantiate. In logs of Xcode I see that target was recognized. But nothing happens after.
function LateUpdate () {
if (this.gameObject.GetComponent(MeshRenderer).enabled != false && inst == false){
(GameObject.Find("ARCamera").GetComponent("SmoothCamera") as MonoBehaviour).enabled = true;
inst_obj = Instantiate(obj, pos, Quaternion.identity);
Also we have second database of image targets which maked usually, without instantiated things, and it works on iOS.
Comment