Forum Moderators: cartesiusCinema 4D F.A.Q. (last updated 2007-07-13 18:44:56)
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?
Hi bud you could try some think like this written in 14 https://www.dropbox.com/s/l6luecv2t5rh49k/rotating%20cube_0003.c4d?m
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. :)____________________
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.
|Unread Post(s)||Unread Announcement||
You are a visitor.
You cannot post new threads.
You cannot reply to threads.
You cannot edit your posts.
You cannot delete your posts.
|Read Post(s)||Read Announcement|
|Unread Post(s) (Locked)||Unread Sticky|
|Read Post(s) (Locked)||Read Sticky|