Jump to content

Agents climbing on defomrig object. Changing parent joint


Recommended Posts

Hello,

So I have agents that are climbing using a locomotive clip. Each hand pulling the rest of the body up and the other etc. At the moment the way I have it having the pivot set to the hand joint for the first pull up. Then I'm using xyzdist to find the closest prim on the deforming object. Then I use primuv to have the agent hook onto that. This only works for the initial pull up, once it tries to pull it's self up with the other hand it just stays on the same location.

 

I need a way to switch the pivot of the agent to another and keep the already moved up position of the previous frame when the other hand is locked in place. A more advanced way would be able to tell when the other hand is moving etc but i;d be fine with just inputting that data for now.

 

Anyone got some ideas how I can achieve this. I've been trying to get this to work with solvers and getting the position of the other joint on the frame before it needs to change but using that to offset the next hand is not working. I think I was probably on the right track but my comprehension of the solver node is spotty and just gives me a headache.

Edited by shadowst17
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...