Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Scripting - Per frame higher\lower in value equals

Scripting - Per frame higher\lower in value equals

2004-04-14       - By kim aldis

 Back
Reply:     1     2     3     4     5     6  

You could use the velocity and accelaration properties. They need activating
first.



> -- --Original Message-- --
> From: owner-xsi@(protected)
> [mailto:owner-xsi@(protected)] On Behalf Of Bradley Kachel
> Sent: 14 April 2004 04:16
> To: XSI@(protected)
> Subject: Re: Scripting - Per frame higher\lower in value equals
>
> Big thanks for the advice guys.
>
> Helge, because the object going +\- on Y will be inheriting
> alot of it's motion (being a character) it won't have
> animation directly on it.
> So I'm guessing the only way around it is to plot it's
> transforms once the animation in final, and then let the
> expression do it's thing.
> Or is there a better way I don't see?
>
> Thanks again,
> Brad K
>
>
>
> >From: "Helge Mathee" <helge.mathee@(protected)>
> >Reply-To: XSI@(protected)
> >To: <XSI@(protected)>
> >Subject: Re: Scripting - Per frame higher\lower in value equals
> >Date: Tue, 13 Apr 2004 21:13:08 +0200
> >
> >I'd use an expression which uses the value at the current
> frame minus
> >the one at a frame before.
> >Evaluating a min max between 0 and 1 should work.
> >
> >Try_
> >
> >0.5 + MIN( MAX( ( null.kine.local.posy - at_frame( Fc - 1,
> >null.kine.local.posy ) ) / 0.3, -0.5 ), 0.5 )
> >
> >
> >Where 0.3 is the treshold so to say the maximum difference between
> >actual frame and the previous frame.
> >
> >Note: the parameter used (which is null.kine.local.posy in
> this case)
> >has to be driven by a fcurve!!
> >
> >-h
> >
> >-- -- Original Message -- --
> >From: "Bradley Kachel" <acidboy21@(protected)>
> >To: <XSI@(protected)>
> >Sent: Tuesday, April 13, 2004 8:44 PM
> >Subject: Scripting - Per frame higher\lower in value equals
> >
> >
> > > Hi guys,
> > > Just a simple scripting Q that I have no idea how to approach.
> > >
> > > I want to have a blend constraint value driven by whether another
> > > object
> >is
> > > going higher or lower in it's Y value.
> > >
> > > EG,
> > > If it is going higher in Y -> blend = 1, If lower in
> value -> blend
> > > = 0.3 Naturally it would have to be calculated each frame too.
> > >
> > > I'm using it to drive some simple armour on a character, so it
> > > sticks to
> >the
> > > body when it's going upward and dragging when going downward.
> > >
> > > Any advice would be majorly appreciated.
> > >
> > > Thanks.
> > > Brad K.
> > >
> > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
> > > Get Extra Storage in 10MB, 25MB, 50MB and 100MB options now! Go to
> > > http://join.msn.com/?pgmarket=en-au&page=hotmail/es2
> > >
> > > ---
> > > Unsubscribe? Mail Majordomo@(protected) with the
> following text in
> >body:
> > > unsubscribe xsi
> > >
> >
> >---
> >Unsubscribe? Mail Majordomo@(protected) with the following
> text in body:
> >unsubscribe xsi
>
> __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
> Protect your inbox from harmful viruses with new ninemsn
> Premium. Go to  
> http://ninemsn.com.au/premium/landing.asp?banner=emailtag&refe
> rrer=hotmail
>
> ---
> Unsubscribe? Mail Majordomo@(protected) with the following
> text in body:
> unsubscribe xsi
>
>
>



---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi