Jump to content

How to make an object follow the orientation of another animated object


jdiazsaezwd

Recommended Posts

Hello!

 

I have this two models, one of them is an animated mixamo fbx of a character doing a spin-attack with a sword, and the other is a katana, the mixamo model doesn't have the sword, just the hand open like holding something.

 I isolated some points on the hand, got the centroid and created a point there, subtracted the position of two points in the palm and the transfered that vector as a normal to the central points where the sword will be, so its aligned to the hand, kind of.

This worked for the first frame of the animation but get it comes to the spin the sowrd just keeps the same angle as in the first frame, the long of the sword is correctly oriented but the blade-side of the sword doesn't follow correctly the orientation of the hand.

I'm still learning houdini and I for sure missing something and I don't know how to really look up for this anywhere else.

 

Thanks.

 

Here are some snaps:

https://gyazo.com/f6dac5288ed223ac63a6ccea8b69fce5

https://gyazo.com/018df6bf2b990d3a9cd2cb8f2b0aff6b

https://gyazo.com/0e6803c89574a2899cc7c4ecf005e8fa

https://gyazo.com/1f886158016b065d9fca1400ffa4e380

 

 

Edited by jdiazsaezwd
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...