Forum Moderators: CHMedia Forum Coordinators: Kalypso
Cinema 4D F.A.Q (Last Updated: 2023 Sep 06 11:59 am)
C4D Gallery | Speed Modeling Sessions | C4D Freestuff |
Hi bud you could try some think like this written in 14 https://www.dropbox.com/s/l6luecv2t5rh49k/rotating%20cube_0003.c4d?m
Cheers
Ray.
There is a two-part tutorial on 'automatic rotation' (over time) in the Cinema 4D Help. Just type in 'Xpresso' in the Search and follow the "Xpresso Tutorials" link in the search results. Hint: there is a Time node in Xpresso. :)
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone
I wrote an Xpresso set which does just that. It uses the "current" rotation, the target rotation, but only allows it to rotate a certain number of degrees per frame, based on a chosen time. So if it's said that the object can rotate 360 degrees in 5 seconds, the nodes will allow the object to rotate 2.4 degrees per frame until it hits the target.
There might be more efficient ways to do it, but that's what I did. I can post it if you want.
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
Hey all,
I have a simple xpresso setup where a cube rotates 90o when it is hit by another object.
trouble is the cube goes grom 0-90o instantly, i cant work out how to make the cube rotate over a set number of frames.
how can this be done?
thanks.
D.