move hand-position when vetruvian arm-layer is changed

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
roberto13
Posts: 30
Joined: Sun Jul 28, 2024 9:55 am

move hand-position when vetruvian arm-layer is changed

Post by roberto13 »

I have a switch layer with different hands.
i want the hand to be moved to the hand wrist position of my different vetruvian arms automatically.
So lets say if i change my arm from B1 to B2, the hand then snaps to the right wrist position.

I am not a scripter, but in maya i hacked a little script together like so:

//if status ui is changed (b1 to b2) execute following script:

//query position hand layer = x;
//query position of a specific point of the visible vetruvian layer = y;
//move x to y;

Would this be possible in Moho?
Thank you:)
User avatar
lucasfranca
Posts: 180
Joined: Sat Oct 07, 2017 11:47 pm

Re: move hand-position when vetruvian arm-layer is changed

Post by lucasfranca »

A solution for this is to have a target for the wrist, if it changes, the position will change.
An old guy [since 1983] who was raised in front of the TV.
Passionate about animation, after getting old, he decides to make it his hobby.

I share tutorials, reviews, tips and tricks from this vast world of animation on my channel.

https://youtube.com/animai2D
roberto13
Posts: 30
Joined: Sun Jul 28, 2024 9:55 am

Re: move hand-position when vetruvian arm-layer is changed

Post by roberto13 »

unfortunatally this does not work. because my three vetruvian arms have different wrist positions each.
I wanted to avoid my current solution using three identical hand switch groups. So now every vertuvian arm has its own hand switch layer.
User avatar
Greenlaw
Posts: 10382
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: move hand-position when vetruvian arm-layer is changed

Post by Greenlaw »

You can get each wrist bone to follow the primary wrist bone using Constraints, but that can become messy if you accidentally animate a non-primary wrist bone. So don't do that.

I think what I would do is place the main wrist bone outside of the Vitruvian Bones group, and have a secondary wrist bone inside each Vitruvian Bone. This secondary bone is just a placeholder bone parented to the real wrist bone, and it gives the child bones (i.e., fingers) something they can be parented to. Then, enable Shy for the secondary wrist bones so you don't accidentally animate them. This way, you have one wrist bone (the primary) used by all three Vitruvian Bone sets.
roberto13
Posts: 30
Joined: Sun Jul 28, 2024 9:55 am

Re: move hand-position when vetruvian arm-layer is changed

Post by roberto13 »

Thank you, i will try this:)
Post Reply