Transform Gesture Translate Limits

Random discussions.

Transform Gesture Translate Limits

Postby AinSoph » Thu Mar 02, 2017 1:46 am

Is there a way, when developing in desktop, to avoid an object leave the screen when using Transform Gesture? It's a 2D application and the sprite should be restricted to the screen region.
AinSoph
 
Posts: 1
Joined: Thu Mar 02, 2017 1:40 am

Re: Transform Gesture Translate Limits

Postby valyard » Wed Mar 15, 2017 10:56 am

Not built-in. You will need a script to manually limit the movement.
You can either make a separate script or add this functionality to Transformer script.
valyard
Site Admin
 
Posts: 435
Joined: Mon Sep 08, 2014 11:57 pm

Re: Transform Gesture Translate Limits

Postby kahfidavy » Mon Jul 24, 2017 11:13 am

I also need your help for this. Please help us
kahfidavy
 
Posts: 1
Joined: Wed Jul 12, 2017 8:07 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest