Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Animation (https://simplymaya.com/forum/forumdisplay.php?f=14)
-   -   rotating pedal of tricycle (https://simplymaya.com/forum/showthread.php?t=2278)

BabyDuck 22-11-2002 11:33 PM

rotating pedal of tricycle
 
having a small problem w/ my tricycle in challenge. the front wheel and all its parts rotate real well, but i want to have the pedal rotate independenty from the wheel. so it shall move in circular motion, but the same side always looks up. what is the best way to do it?

my ideas so far:

(1) i thought about rotating a locator with the wheel, and constrain it to the pedal. but that might make the pedal rotate itself as the locator rotates (not sure).

(2) a sdk, so if the wheel is rotated some degrees, i use the rotating degree (somehow sin and cos) as driver for the y and x translation of pedal. that sounds like very complicated to fine tune the pedal to stay on the correct place, and it does not guarantee that the pedal looses contact to the bar.


(3) manually rotate the pedal when animating and adjust the wrong rotation caused by the rotation of whole wheel (yucc, i wanted it more automatic - so once set up and when i only do one thing - rotate the wheel - and then maya does the rest like move the tricycle forward, rotate the pedals around wheel but keeping ons side facing up, and rotate the back wheels accordingly - a bit faster though as they are smaller)


how would you do it?

mtmckinley 23-11-2002 12:16 AM

If you point constrain the pedal to the end of the rotating "arm", then it will follow it, yet always stay pointed up. This is how I animated my bike rider model.

BabyDuck 24-11-2002 02:30 PM

oh thanks alot. i will try that :)


All times are GMT. The time now is 02:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018