Page 1 of 1

Zoom in &zoom out

PostPosted: Wed Jul 31, 2013 12:15 pm
by nar
hi guys,

   i have an doubt on zoom in and zoom out, actually i'm having one object by clicking taht object the object has to zoom in and zoom out continously .

please share your thoughts.

Re: Zoom in &zoom out

PostPosted: Wed Jul 31, 2013 1:06 pm
by cvp
You can use the "set scale" on the layout to zoom in and out on the layout. If you just want to scale the button you can also use the "set scale" command.

If you want it to be more smooth use it together with lerp(there are some good examples of how to use the lerp funtion in the FAQ section. Just search for lerp on that site.

Re: Zoom in &zoom out

PostPosted: Wed Jul 31, 2013 8:07 pm
by parside
Thanks for the tip...