Log in or register to post comments

floating virtual button

December 12, 2013 - 10:20pm #2

hi there!

i'm trying to implement virtual button on a floating 3D object. is it possible? has any one done it?

the button is restricted to the image target plane and does not levitate. As the y-axis (I am using unity3d) is restricted in script "VirtualButtonBehaviour", I modified this script to flaot the virtual button with my 3D object. To do this I changed this,

public const float TARGET_OFFSET = 0.001f;

to

public float TARGET_OFFSET;

but doesn't seem to work. i'm sure i've missed a couple of thing...

any help is appreciated! thanks in advance! :)

 

floating virtual button

December 12, 2013 - 11:13pm #1

Virtual Buttons can only be children of an Image Targets, and their relative position to the target must be in the image target plane.

 

Log in or register to post comments