Re: move adjancent keyframes and keep slope orientation
| Date : Mon, 2 Apr 2007 17:28:53 -0500 |
| To : XSI(at)Softimage.COM |
| From : "Oscar Juarez" <tridi.animeitor(at)gmail.com> |
| Subject : Re: move adjancent keyframes and keep slope orientation |
On 3/30/07, Kris Rivel <krisrivel(at)gmail.com
> wrote:
Is there a way to move key frames using the "Plateau (horizontal for
local min & max)" and keep their slope orientation intact? With it on,
if you move a key frame above its original value, the adjacent keyframes
that have the same value re-adjust their slope orientation. I can't
seem to prevent them from doing that. Here's a simple script that
animates a null to show what I mean. Grab the 3rd keyframe and move it
up and down in the fcurve editor:
NewScene(null, null);
SetValue(" preferences.animation.tangentori", 1, null);
GetPrim("Null", null, null, null);
SaveKey("null.kine.local.posx,null.kine.local.posy,null.kine.local.posz",
1, null, null);
SetValue(" PlayControl.Key", 24, null);
SetValue("PlayControl.Current", 24, null);
Translate(null, 0, 4.49802037804679, 0, siRelative, siLocal, siObj,
siXYZ, null, null, null, null, null, null, null, null, null, 0, null);
SaveKey("null.kine.local.posx,null.kine.local.posy,null.kine.local.posz",
24, null, null);
SetValue("PlayControl.Key", 42, null);
SetValue("PlayControl.Current", 42, null);
SaveKey(" null.kine.local.posx,null.kine.local.posy,null.kine.local.posz",
42, null, null);
SetValue("PlayControl.Key", 60, null);
SetValue("PlayControl.Current", 60, null);
Translate(null, 0, 5.90916402606146 , 0, siRelative, siLocal, siObj,
siXYZ, null, null, null, null, null, null, null, null, null, 0, null);
SaveKey("null.kine.local.posx,null.kine.local.posy,null.kine.local.posz",
60, null, null);
Kris
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: Re: Shape plotting tragedy...
- Next by Date: Re: Shape plotting tragedy...
- Previous by Thread: Re: Shape plotting tragedy...
- Next by Thread: Re: Shape plotting tragedy...
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |