  | | | expression | expression 2005-03-17 - By Mario Reitbauer
Back Rendering timeHmm okey this is right but I forgot to mention that the position between the, as example spheres, should control the expressions.
(sphere1.posy - sphere2.posy) * 0.5 * controler.posy
In this example when changing position of sphere 1 will change also the position of sphere 2 because the distance of the objects is used in the expression.
What I am trying is: 2 objects, 1 controler moving controler in positive y will move object 1 and object 2 together. after changing position of object1 or 2 the controler should work exactly as before with the new positions (so the objects should move together untill they are at the same point.
Haven't figure out how to make this. Would be no problem if its not possible in realtime but with some sort of script wich has to be runned first.
Mario
-- -- Original Message -- -- From: Robert Moodie To: XSI@(protected) Sent: Thursday, March 17, 2005 4:52 PM Subject: Re: expression
NullController NullParent -->Sphere Child
moving NullController in y will move the NullParent in y
And it will be possible to move the sphere after setting the expression
-- -- Original Message -- -- From: gmx To: XSI@(protected) Sent: Thursday, March 17, 2005 11:29 AM Subject: expression
Hi
I am searching for an expression wich does this:
Objects: Null = controler sphere
moving controler in y should move the sphere in y
But it should be possible to move the sphere after setting the expression. controler.kine.local.posy --> does not allow to move the sphere later sphere.kine.local.posy + controler.kine.local.posy --> doesn't work correct
maybe someone allready needed an expression like this.
greets Mario <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Rendering time</TITLE> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2800.1106" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hmm okey this is right but I forgot to mention that the position between the, as example spheres, should control the expressions.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>(sphere1.posy - sphere2.posy) * 0.5 * controler.posy</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>In this example when changing position of sphere 1 will change also the position of sphere 2 because the distance of the objects is used in the expression.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>What I am trying is:</FONT></DIV> <DIV><FONT face=Arial size=2>2 objects, 1 controler</FONT></DIV> <DIV><FONT face=Arial size=2>moving controler in positive y will move object 1 and object 2 together.</FONT></DIV> <DIV><FONT face=Arial size=2>after changing position of object1 or 2 the controler should work exactly as before with the new positions (so the objects should move together untill they are at the same point.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Haven't figure out how to make this. Would be no problem if its not possible in realtime but with some sort of script wich has to be runned first.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Mario</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=robertm@(protected) href="mailto:robertm@(protected)">Robert Moodie</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=XSI@(protected) href="mailto:XSI@(protected)">XSI@(protected)</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, March 17, 2005 4:52 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: expression</DIV> <DIV><BR></DIV> <DIV><FONT face=Tahoma size=2>NullController</FONT></DIV> <DIV><FONT face=Tahoma size=2>NullParent</FONT></DIV> <DIV><FONT face=Tahoma size=2>-->Sphere Child</FONT></DIV> <DIV><FONT face=Tahoma size=2></FONT> </DIV> <DIV><FONT face=Tahoma size=2> <DIV><FONT face=Arial size=2>moving <FONT face=Tahoma>NullController </FONT >in y will move the <FONT face=Tahoma>NullParent </FONT>in y </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>And it will be possible to move the sphere after setting the expression</FONT></DIV></FONT></DIV> <DIV><FONT face=Tahoma size=2></FONT> </DIV> <BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:< /B> <A title=mario.reitbauer@(protected) href="mailto:mario.reitbauer@(protected)">gmx</A > </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=XSI@(protected) href="mailto:XSI@(protected)">XSI@(protected)</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, March 17, 2005 11:29 AM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> expression</DIV> <DIV><FONT face=Tahoma size=2></FONT><FONT face=Tahoma size=2></FONT><BR></DIV> <DIV><FONT face=Arial size=2>Hi</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I am searching for an expression wich does this:</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Objects:</FONT></DIV> <DIV><FONT face=Arial size=2>Null = controler</FONT></DIV> <DIV><FONT face=Arial size=2>sphere</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>moving controler in y should move the sphere in y</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>But it should be possible to move the sphere after setting the expression.</FONT></DIV> <DIV><FONT face=Arial size=2>controler.kine.local.posy --> does not allow to move the sphere later</FONT></DIV> <DIV><FONT face=Arial size=2>sphere.kine.local.posy + controler.kine.local.posy --> doesn't work correct</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>maybe someone allready needed an expression like this.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>greets Mario</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
|
|
 |