Hi!
I have animated a night&day cycle action and assigned it to a smart bone. Day fades to night fades to day from 0 to 360 degrees. The action is looping. But when I animate the smart bone it does not. I need to cycle 1.5 days but it stops after 1 day. I can't break the animation apart (2 key frames, 360 and back to 0 to continue from beginning) because this will break the smoothness.
Is there a solution?
Thanks in advance!
Day/Night cycle problem
Moderators: Víctor Paredes, Belgarath, slowtiger
-
- Posts: 47
- Joined: Fri Jan 09, 2015 9:50 am
- Location: Stuttgart / Germany
- Contact:
Re: Day/Night cycle problem
Set your keyframes to 'linear' instead of 'smooth', and the cycle should be fine.
-
- Posts: 47
- Joined: Fri Jan 09, 2015 9:50 am
- Location: Stuttgart / Germany
- Contact:
Re: Day/Night cycle problem
thats not ideal. because I want it not start at full speed. and it's even not true. this would only apply if you have for example 360 frames for one cycle, so that each frame assigns to one degree. then I could make a break at 359 und go to 0.
is there really no other solution? i can't believe it
is there really no other solution? i can't believe it

Re: Day/Night cycle problem
Well, if I'm understanding this correctly, you've got a one-day cycle and you want to show one and a half days continuously on the timeline, you're going to have to break it somewhere, I think. What I would try is animating the cycle from midday through midnight to midday again. Then, your 'join' is at midday (which should be the brightest part), and it ought to be less noticeable. Hope this helps.
You can't have everything. Where would you put it?
- funksmaname
- Posts: 3174
- Joined: Tue May 29, 2007 11:31 am
- Location: New Zealand
Re: Day/Night cycle problem
the solution is simple.
360 degrees is NOT the limit of a smart bone. set your changes to cycle, then move the bone rotation key to the start of the 2nd copy and rotate it 720 degrees instead of 360. you can do this as many times as you like, internally the rotation doesn't go back to 0.
edit --
in fact, you could just cycle it twice and put the bone at 360 on the last frame - that way it would be daytime at 0, 180, and 360 - two day night cycles in a single rotation.
To ensure it's smooth, you will have to spread out these changes over twice as many frames as before to get the same results.
360 degrees is NOT the limit of a smart bone. set your changes to cycle, then move the bone rotation key to the start of the 2nd copy and rotate it 720 degrees instead of 360. you can do this as many times as you like, internally the rotation doesn't go back to 0.
edit --
in fact, you could just cycle it twice and put the bone at 360 on the last frame - that way it would be daytime at 0, 180, and 360 - two day night cycles in a single rotation.
To ensure it's smooth, you will have to spread out these changes over twice as many frames as before to get the same results.
-
- Posts: 47
- Joined: Fri Jan 09, 2015 9:50 am
- Location: Stuttgart / Germany
- Contact:
Re: Day/Night cycle problem
I feel so stupid. Thank especially you @funksmaname!
I tried it nearly that way (by animating the bone in the mainline that way), but I didn't realise that I have to set the end degree in the action to 720 too.
Thank you all for your help!
I tried it nearly that way (by animating the bone in the mainline that way), but I didn't realise that I have to set the end degree in the action to 720 too.
Thank you all for your help!