By AmRahul
on Fri, 06/01/2018 - 03:12
Hi can you tell me how to show those text over augmented motor model. Currently I tried like:
Added a cube to image target. Added a canvas with text object. Using script I attached that text to cube in update method like:
GameObject cube = GameObject.FindGameObjectWithTag ("boomEffect"); Vector3 pos = cube.transform.localPosition; pos.y = pos.y + 10; note.transform.position = pos;
note is text object. boomEffect is tag to cube.
I want to achive this kind of effect:
https://youtu.be/nHfY56lHZjU?t=11s.
But It's not working plz Help.
Hello AmRahul,
Hello AmRahul,
What behaviour are you seeing? Is your target being detected? Do you have code to display this object upon detecting your target? What type of target are you using?
Thanks,
Vuforia Support
Hi....I found answer for
Hi....I found answer for question. I used this script namely hovering_text.js: https://pastebin.com/j2inUHEU.
I have
1. Attached this script to canvas text object.
2.Disable text component of text game object.