Log in or register to post comments

Virtual Button Soccerball

September 26, 2013 - 2:04am #1

Hi, i'm trying to mimic the virtual button soccer example in my project. But i've got a problem, the Y size of my object is scaled to 1 and i can't change it. Anyone know where is the part to change this in VirtualButtonBehaviour.cs ? thank you.

Virtual Button Soccerball

September 26, 2013 - 5:19am #2

Virtual button is a child of an immediate parent, in this case, immidiate parent is soccerball,, and the soccerball itself is a child of image target. Size of every object depends on their size and parent size. May be before you make your object to be a child, you should check the size. or you can use transform.localscale.
or you can read the unity documentation for more information.

This is unity Documentation

or May Be this one or this.

this is more documentation about image target behaviour and virtual button. (here)

Sorry if i cann't help you much.

Log in or register to post comments