Page 1 of 1

Problem with smart bone and layer rotation

Posted: Thu Jan 12, 2017 10:02 pm
by mdmodeler
So I have a butterfly with 2 wings (a wing on each layer). All 3 layers, the body and wings, are under a one layer. I created a smart bone called "flap" when I go into the action for this bone and rotate the 2 wing layers on the Y axis, it looks great. Then when I go back to Mainline and manipulate (rotate) the "flap" smart bone - the wing layers do not rotate on the Y axis.

Did I just uncover a bug with smart bones and layer rotation? BTW - layer translation works fine - it's just layer rotation.

Re: Problem with smart bone and layer rotation

Posted: Thu Jan 12, 2017 11:14 pm
by Greenlaw
You mean rotate in 3D right? It's working here.

I made a layer with a box, set the pivot on edge. Then I set up an SBD to make it 'flap' up and down on X rotation. When I went back to the Mainline, the SBD worked.

I also tried Y for side-to-side flapping and it works there too.

I'll upload the example in just a sec.

Re: Problem with smart bone and layer rotation

Posted: Thu Jan 12, 2017 11:15 pm
by synthsin75
Can you share the file without the art?
You didn't mute the animation channel in the action, did you?

Re: Problem with smart bone and layer rotation

Posted: Thu Jan 12, 2017 11:22 pm
by Greenlaw
Here's the test I just made.

https://www.dropbox.com/s/5kjsmu3xtv143 ... .moho?dl=0

Hope it helps.

Re: Problem with smart bone and layer rotation

Posted: Sat Jan 14, 2017 3:53 am
by mdmodeler
Sorry for the delay.
Thank you so much for taking the time to look at my problem.

@GreenLaw - Yes, I meant to say Y rotation in 3D space. You're sample works great in my environment and does what I'm hoping mine did but the structure of your object is a little different (bones within bone layers, etc - see detail on my file below). What's really strange is when I import your object it works in my rig!!

@synthsin75 - I double checked, I didn't mute the channel.

The file without most of the artwork (I left the butterfly artwork) is at https://drive.google.com/file/d/0B0xxX- ... sp=sharing.

The butterflies are groups within the bone layer of helmet:
helmet (bone layer)
--->butterfly left group (bone layer)
------>layers for body and wings
--->butterfly right group (bone layer)
------>layers for body and wings

The butterflies are attached to the "helmet" for part of the animation so there are bones on the helmet layer that are bound to the "butterfly left/right group" bone layers. Then I unparent the bones to let the butterflies fly off. I wonder if the multiple bones on different bone layers is the issue?
Anyway, the actions "flap" and "flap2" are smart bones on each butterfly group associated with the bone "flap". If you open the smart action and scrub through it, the wings rotate in Y (3D space) fine. But when you go out to the Main Timeline and rotate the "flap" smart bones, the wings don't flap.

Re: Problem with smart bone and layer rotation

Posted: Sat Jan 14, 2017 4:11 am
by Greenlaw
Ok, I'll check it out when I get home tonight.

Re: Problem with smart bone and layer rotation

Posted: Sat Jan 14, 2017 5:39 am
by synthsin75
Both of your "flap" smart actions are rotating the smart bone the same way. These are basically cancelling each other.

Re: Problem with smart bone and layer rotation

Posted: Sat Jan 14, 2017 6:53 am
by mdmodeler
@synthsin75 - that's exactly what it was!! Feel a little silly. Stupid stuff that happens when under a deadline.

Re: Problem with smart bone and layer rotation

Posted: Sat Jan 14, 2017 7:19 am
by synthsin75
Small things can really foul up smart bones, and they're usually not obvious problems.

I always put both directions of rotation in one smart bone action. Makes things a bit simpler for me.

Re: Problem with smart bone and layer rotation

Posted: Sat Jan 14, 2017 7:08 pm
by mdmodeler
synthsin75 wrote:Small things can really foul up smart bones, and they're usually not obvious problems.

I always put both directions of rotation in one smart bone action. Makes things a bit simpler for me.
I will put your suggestions on directions of rotation in one smart bone action (less clutter in the action list too).