Scripting - Per frame higher\lower in value equals 2004-04-13 - By ludo
Back Hey Bradley K.
Why not simply use expressions.
Try this. Cond( object.kine.local.posy > Y value, 1 , 0.3) Should read for your information. Condition( Condition, True, False)
Attach this to your blending constraint and you are set.
Hope this helps
Ludo.
> -- --Original Message-- -- > From: owner-xsi@(protected) > [mailto:owner-xsi@(protected)] On Behalf Of Bradley Kachel > Sent: Tuesday, April 13, 2004 1:44 PM > To: XSI@(protected) > 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
|
|