Leg doesn't stick to the bone
Moderators: Víctor Paredes, Belgarath, slowtiger
-
- Posts: 32
- Joined: Mon May 14, 2018 6:25 pm
Leg doesn't stick to the bone
Hello,
I'm making a human character. One leg sticks perfectly to the bone, but the other one - doesn't want to. When it's straight down it's ok, but when I start to move the bone it messes up. Here you can see what I'm talking about:
https://www.youtube.com/watch?v=icBvpkN ... e=youtu.be
I made both legs in the same way, so I don't know why first works great and second doesn't?
I'm making a human character. One leg sticks perfectly to the bone, but the other one - doesn't want to. When it's straight down it's ok, but when I start to move the bone it messes up. Here you can see what I'm talking about:
https://www.youtube.com/watch?v=icBvpkN ... e=youtu.be
I made both legs in the same way, so I don't know why first works great and second doesn't?
- alanthebox
- Posts: 216
- Joined: Sat Feb 03, 2018 5:31 pm
- Contact:
Re: Leg doesn't stick to the bone
at first glance, it kind of looks like that lower leg might have a different z depth. you can verify this by selecting the offending layer, then the layer transform tool. it should give readouts for x, y, and z.
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Leg doesn't stick to the bone
You can also see it in orbit view, if you're using Pro.
- 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/
-
- Posts: 32
- Joined: Mon May 14, 2018 6:25 pm
Re: Leg doesn't stick to the bone
It seems that it's not the reason, I used orbit view and all layers are in the same position. Any other ideas?
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Leg doesn't stick to the bone
Without seeing the file, a different z-depth is the only obvious culprit...unless you have smart bone actions.
- 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/
-
- Posts: 32
- Joined: Mon May 14, 2018 6:25 pm
Re: Leg doesn't stick to the bone
Ok, I can upload the file. But the images for animations are external files - do you need also them or is it enough if I will send only project file?
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Leg doesn't stick to the bone
The file is plenty. I can always set my own image to check it.kamiledi15 wrote: ↑Sat Dec 24, 2022 1:27 pm Ok, I can upload the file. But the images for animations are external files - do you need also them or is it enough if I will send only project file?
- 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/
-
- Posts: 32
- Joined: Mon May 14, 2018 6:25 pm
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Leg doesn't stick to the bone
This is caused by the bone scaling on frame one. The bone length and image scaling should really be done on the setup frame (frame zero).
What's happening is that the thigh bone being scaled is stretching the envelop that the shin bone rotates through (scaled in one direction), altering how the art appears to attach to the shin bone.
And while not part of this problem, all the layer transforms and reparented bones on frame one are likely to give you problems down the road. Aside from very few exceptions, you really don't want any of your rig setup outside of frame zero.
What's happening is that the thigh bone being scaled is stretching the envelop that the shin bone rotates through (scaled in one direction), altering how the art appears to attach to the shin bone.
And while not part of this problem, all the layer transforms and reparented bones on frame one are likely to give you problems down the road. Aside from very few exceptions, you really don't want any of your rig setup outside of frame zero.
- 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/
-
- Posts: 32
- Joined: Mon May 14, 2018 6:25 pm
Re: Leg doesn't stick to the bone
So I just need to parent all bones on frame 0 and it will solve the problem?
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Leg doesn't stick to the bone
The main problem is that you're scaling the bones on frame one. You'd be better off making them the needed lengths on frame zero.
- 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: Leg doesn't stick to the bone
That's correct. Frame 0 is Moho's setup frame. You should make sure everything about your rig is good at frame 0 before you begin animating the puppet on the later frames. In fact, some rig editing tools don't even work on later frames and they must be used on frame 0.kamiledi15 wrote: ↑Sat Dec 24, 2022 4:13 pm So I just need to parent all bones on frame 0 and it will solve the problem?
Frames 1 and later are animation frames, and being able to animate the rig predictably there depends on the quality of the rig at frame 0.
As a helper, make sure Highlight Frame 0 is enabled in Preferences>Timeline. This draws a red box around the Workspace frame so you know you're on frame 0 and not a later frame. You might also want to assign Design Mode to a hot key so you can toggle instantly between your current animation frame and the setup frame when you need to make rig edits after you've started animating the character.
Last edited by Greenlaw on Tue Dec 27, 2022 7:30 pm, edited 2 times in total.
NEW! Visit our Little Green Dog Channel on YouTube!
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
-
- Posts: 32
- Joined: Mon May 14, 2018 6:25 pm
Re: Leg doesn't stick to the bone
Thanks for the answer, but it didn't help. I moved timeline to frame 0 and reparented all bones, but with the same result. I also completely deleted this one bone and leg and added them again in frame 0 - but it still looks the same. It seems that I would have to start from scratch, but I will leave it as it is - it won't be long animation, so I can adjust leg position manually in every frame.
But thanks for trying to help me.
But thanks for trying to help me.
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Leg doesn't stick to the bone
Here's the fix for that leg:
https://www.mediafire.com/file/2yb41eb9 ... .moho/file
Since the bones were scaled on frame one, I have to multiply the scale by the bone length and make that the new bone length for both leg bones on frame zero. Then I could delete the scale keyframes, move the shin bone to attach to the new length of the thigh bone (on frame zero), and delete the frame one shin bone translation. Then I just had to realign and scale the art on frame zero to align with the bone, and delete any frame one keyframes.
Like I said above, you're biggest problem is scaling the bones on frame one. If they need to be longer, it's better to change their length on frame zero.
https://www.mediafire.com/file/2yb41eb9 ... .moho/file
Since the bones were scaled on frame one, I have to multiply the scale by the bone length and make that the new bone length for both leg bones on frame zero. Then I could delete the scale keyframes, move the shin bone to attach to the new length of the thigh bone (on frame zero), and delete the frame one shin bone translation. Then I just had to realign and scale the art on frame zero to align with the bone, and delete any frame one keyframes.
Like I said above, you're biggest problem is scaling the bones on frame one. If they need to be longer, it's better to change their length on frame zero.
- 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/
-
- Posts: 32
- Joined: Mon May 14, 2018 6:25 pm
Re: Leg doesn't stick to the bone
Wow, it works great now. Thanks for your help!