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?
 
expressions question

expressions question

2004-05-25       - By alex dinnin

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Am I correct in saying then, that if you have frozen the object !!! you can not
use the radius ???

thanks for the help on this everyone....

Peter Twardo <peliosis_v2@(protected)> wrote:

Well, since the amount of rotation, depends on both : translation, and radius
of an object, your expression could't work.

I hope this helps:

(Try changing radius of your cylinder or whatever if you havent frozen it)



' ******************************************

CreatePrim "Cylinder", "MeshSurface"

Rotate , 90, 0, 0, siAbsolute, siParent, siObj, siX

ResetTransform "cylinder", siCtr, siRot, siXYZ

InspectObj "cylinder.kine.local"

AddExpr "cylinder.kine.local.rotz"

SetExpr "cylinder.kine.local.rotz", "cylinder.kine.local.posx*-(360/(2*PI
*cylinder.polymsh.geom.cylinder.radius))"

' ******************************



Peter


   
-- ---- ---- ---- ---- ---- -----
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger
<DIV>Am I correct in saying then, that if you have frozen the object !!! you
can not use the radius ???</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks for the help on this everyone....<BR><BR><B><I>Peter Twardo &lt
;peliosis_v2@(protected)&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER
-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>

<DIV><FONT size=2>
<P><FONT face=Arial>Well, since the amount of rotation, depends on both :
translation, and radius of an object, your expression could't work.</FONT></P>
<P><FONT face=Arial>I hope this helps:</FONT></P>
<P><FONT face=Arial>(Try changing radius of your cylinder or whatever if you
havent frozen it)</FONT></P>
<P><FONT face=Arial></FONT>&nbsp;</P>
<P><FONT face=Arial>' ******************************************</FONT></P>
<P>CreatePrim "Cylinder", "MeshSurface"</P>
<P>Rotate , 90, 0, 0, siAbsolute, siParent, siObj, siX</P>
<P>ResetTransform "cylinder", siCtr, siRot, siXYZ</P>
<P>InspectObj "cylinder.kine.local"</P>
<P>AddExpr "cylinder.kine.local.rotz"</P>
<P>SetExpr "cylinder.kine.local.rotz", "<STRONG>cylinder.kine.local.posx*-(360/
(2*PI*cylinder.polymsh.geom.cylinder.radius))</STRONG>"</P>
<P>' ******************************</P>
<P><FONT face=Arial></FONT>&nbsp;</P>
<P><FONT face=Arial>Peter</FONT></P></FONT></DIV></BLOCKQUOTE><p>
    <hr size=1><font face=arial size=-1>Do you Yahoo!?<br>Friends.  Fun. <a href=
"http://messenger.yahoo.com/">Try the all-new Yahoo! Messenger</a>