![]() |
|
#2
|
|||
|
|||
|
You could reset the yaw to 90 degrees or -90 degrees everytime the gun try to go beyond the limit.
Ex: rho=gun.getEuler() if 90 < rho[0] < 180: ---> rho[0]=90 elif -180 < rho[0] < -90: ---> rho[0]=-90 gun.setEuler(rho) Last edited by Chapre; 09-21-2010 at 03:36 PM. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| retrieve Object names | Geoffrey | Vizard | 11 | 12-11-2009 05:26 AM |
| Unable to perform 360 rotation using vizact.spinto | vijaykiran | Vizard | 2 | 09-29-2009 09:39 AM |
| Object rotation | Andrey | Vizard | 4 | 06-13-2007 03:49 PM |
| Child Object Rotation | paulgoldberg | Vizard | 5 | 09-05-2006 12:33 PM |
| rotate to object | jargon | Vizard | 1 | 08-08-2005 01:20 PM |