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 stefan@(protected)

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

This one worked fine for me (on cylinder1.kine.local.rotz).

( cylinder1.kine.global.posx /  ( 2 * PI ) / 4 ) * 360 * -1

Change the "/ 4 " to what ever radius the object has.


best regards

/stefan andersson



"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
>



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