Streching objects 2 ways from a common origin
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-05-24 03:49 PM
2004-05-24
03:49 PM
1 REPLY 1
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-05-24 04:09 PM
2004-05-24
04:09 PM
tprokop wrote:A simple option would be using a parameter like len2, and define at the begining of the script that len2 = A.
Is there a way to make an object that can stretch in two directions from a common origin point? At a 90, the objects uses the A and B codes to stretch each leg, but we would like the objects to work with variable angles. Any help or suggestions would be appreciated.
If you want the object to be stretchable even with the "angular" part, you should then define some "diamond" HOTSPOT, the "new" feature available in AC8 : you'll be able to strech either using the "auto strecth" feature of the A parameter and the scripted "stretchable" part based on HOTSPOT function.
You'll then have to use the function explained here :
IF GLOB_MODPAR_NAME='galq' THEN IF galq=30 THEN PARAMETERS A=22" PARAMETERS ZZYZX=48" ENDIF IF galq=50 THEN....In plain english, this give :
IF the last parameter edited was A then len2 = A
IF the last parameter edited was len2 then A = len2
PS : thanks to James Murray for the code