PDA

View Full Version : Simple wiring question


Ls3D
06-24-2005, 08:17 PM
SETUP: I've got a typical tapered roller bearing like the ones that help your car go down the road and I have wire paramed the X rotation of the inner race to the roller cage (a larger diameter object).

PROBLEM: I want the larger diameter object to rotate about a third slower than the inner dog-nut. I suck at expression controller syntax and can not find any examples to take apart.

DETAIL: Right now both expression windows simply have 'X_Rotation' for the expression. Can someone throw me some syntax? I'm sure this is total cake for someone who likes math. Tnx,

-Shea

magicm
06-24-2005, 08:43 PM
Maybe something like ... X_Rotation/3 ?

Ls3D
06-24-2005, 08:47 PM
Must need radians or something because that is not working...

Tnx, -Shea

magicm
06-24-2005, 10:05 PM
You can convert between radians and degrees using degtorad xxx and radtodeg xxx.

- Martijn

-Vormav-
06-24-2005, 10:13 PM
Hmm... Maybe something else is affecting it then. I just tried wiring the x rotation of one box to the x rotation of another, with a one-way connection with the expression set as X_Rotation/3, and it was working perfectly - rotates 3 times slower, as expected... :shrug:

CGTalk Moderation
06-24-2005, 10:14 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.