#1
|
|||
|
|||
Changing pivot center midway through animation
Hello,
Is it possible to change the pivot center of an object midway through an action sequence? For example, I would like an object to have a turn radius of 30 for a spin action. The object then moves forward for a bit and then takes another spin action only this time it should have a turn radius of 15. How can this be possible? Thanks, Vijay. |
#2
|
|||
|
|||
You could create you own custom action. The docs have some information about how to do this.
http://www.worldviz.com/vizhelp/VizH...wn_actions.htm Your custom action could take as an argument the new center point of the object. In the action code first you will need to get the position of the object using the viz.ABS_GLOBAL flag. Then you will set the center of the object using the value passed in. Then you reset the position to where it originally was, again using the viz.ABS_GLOBAL flag. |
#3
|
|||
|
|||
Thanks Jeff. That worked.
- Vijay. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Positioning objects: center | johannes2 | Vizard | 2 | 02-12-2008 02:56 AM |
Animation Tracks.... | k_iwan | Vizard | 2 | 03-26-2007 05:52 PM |