Start a new topic

Instant tracking in wikitude 8 with unity

hey, I am trying wikitude instant tracking scene i want to rotate,scale 3d object using slider and also i want to placed object by using user inputs. may it possible if yes can you share me some tutorial/any way that helps me to develope.


Hi Chintu,


Did you check the Instant Tracking samples of the SDK sample app. These show how you can add and manipulate 3D objects with the Instant Tracking scene.


We don't offer a specific sample that includes the manipulation using a slider though, so if you need details specifically for this, please let us know.


Please also provide details on which SDK version you're using.


Thx and greetings

Nicola

I am using wikitude 8.10 sdk and  adding this script to 3d object and  

using System.Collections;

using System.Collections.Generic;

using UnityEngine;

using UnityEngine.UI;


public class ArrowMovements : MonoBehaviour 

{


    public Slider rotatingArrowSlider;

    public Slider scalingArrowSlider;

 




    // Use this for initialization

    void Start () {

 

    }

 

    // Update is called once per frame

    void Update () 

    {

        gameObject.transform.localEulerAngles = new Vector3 (0gameObject.transform.localEulerAngles.y + rotatingArrowSlider.value * Time.deltaTime0);

        gameObject.transform.localScale = new Vector3 (scalingArrowSlider.value,scalingArrowSlider.value,scalingArrowSlider.value);

 

 

    }

}



sreenshots

sir,plz give some suggestion

Login or Signup to post a comment