Problem with smart bone and layer rotation

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
mdmodeler
Posts: 74
Joined: Tue Mar 07, 2006 5:36 am
Location: Maryland, USA

Problem with smart bone and layer rotation

Post 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.
User avatar
Greenlaw
Posts: 9192
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Problem with smart bone and layer rotation

Post 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.
User avatar
synthsin75
Posts: 9935
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Problem with smart bone and layer rotation

Post by synthsin75 »

Can you share the file without the art?
You didn't mute the animation channel in the action, did you?
User avatar
Greenlaw
Posts: 9192
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Problem with smart bone and layer rotation

Post by Greenlaw »

Here's the test I just made.

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

Hope it helps.
User avatar
mdmodeler
Posts: 74
Joined: Tue Mar 07, 2006 5:36 am
Location: Maryland, USA

Re: Problem with smart bone and layer rotation

Post 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.
User avatar
Greenlaw
Posts: 9192
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Problem with smart bone and layer rotation

Post by Greenlaw »

Ok, I'll check it out when I get home tonight.
User avatar
synthsin75
Posts: 9935
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Problem with smart bone and layer rotation

Post by synthsin75 »

Both of your "flap" smart actions are rotating the smart bone the same way. These are basically cancelling each other.
User avatar
mdmodeler
Posts: 74
Joined: Tue Mar 07, 2006 5:36 am
Location: Maryland, USA

Re: Problem with smart bone and layer rotation

Post by mdmodeler »

@synthsin75 - that's exactly what it was!! Feel a little silly. Stupid stuff that happens when under a deadline.
User avatar
synthsin75
Posts: 9935
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Problem with smart bone and layer rotation

Post 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.
User avatar
mdmodeler
Posts: 74
Joined: Tue Mar 07, 2006 5:36 am
Location: Maryland, USA

Re: Problem with smart bone and layer rotation

Post 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).
Post Reply