Problem with smart bone and layer rotation
Moderators: Víctor Paredes, Belgarath, slowtiger
Problem with smart bone and layer rotation
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.
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
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.
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.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Lead Digital Animator, DreamWorks Animation
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Lead Digital Animator, DreamWorks Animation
- synthsin75
- Posts: 9935
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Problem with smart bone and layer rotation
Can you share the file without the art?
You didn't mute the animation channel in the action, did you?
You didn't mute the animation channel in the action, did you?
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Problem with smart bone and layer rotation
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Lead Digital Animator, DreamWorks Animation
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Lead Digital Animator, DreamWorks Animation
Re: Problem with smart bone and layer rotation
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.
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
Ok, I'll check it out when I get home tonight.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Lead Digital Animator, DreamWorks Animation
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Lead Digital Animator, DreamWorks Animation
- synthsin75
- Posts: 9935
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Problem with smart bone and layer rotation
Both of your "flap" smart actions are rotating the smart bone the same way. These are basically cancelling each other.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Problem with smart bone and layer rotation
@synthsin75 - that's exactly what it was!! Feel a little silly. Stupid stuff that happens when under a deadline.
- synthsin75
- Posts: 9935
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Problem with smart bone and layer rotation
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 always put both directions of rotation in one smart bone action. Makes things a bit simpler for me.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Problem with smart bone and layer rotation
I will put your suggestions on directions of rotation in one smart bone action (less clutter in the action list too).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.