Jump to content

Stick on collision - Ragdall


jackassol

Recommended Posts

You can create a constraint on the fly.

i did some experiments recently, see the file attached (the constraints are even animated, as I wanted to see if the ragdoll could climb more or less realistically a wall... answer is no, but it can be useful to learn how to manipulate constraints on ragdolls :-)

ragdollClimbing_v2.hip

Edited by StepbyStepVFX
Link to comment
Share on other sites

By the way, in order to find the limb on which a collision occured, the process is a bit long to explain, but know that there is an example in this course by Mikael Petersen on crowds. This guy is really an expert, I really recommend watching his courses.

https://www.cgcircuit.com/course/crowds-for-feature-film-in-houdini-2

Link to comment
Share on other sites

Well, this would require a bit of VEX, but I guess the main elements to achieve would be :

- I would work with a polygonal version of your collider (I don’t know what it is you are using, but you can always « hack » your DOP object and add pieces of data inside : check my other hip file, you will see that I need polygonal version of my terrain https://forums.odforce.net/applications/core/interface/file/attachment.php?id=49690

- you can use the Impact data (basically points), to find the prim and uv where the impact occured on your collider

- use these to always reference the point on this moving geometry where impact occured, and use this point to modifiy the constraint anchor in the sop solver of the constraint network

Of course, you will need to be familiar with Wrangle and SOP Solver and how to call different pieces of data in DOP... (all the bindings etc.)

Check the hip files I shared, because the main ingredients are there, you just need to spend some time figuring out, step by step, how to reference a point in DOP context, and use this position to modify a constraint network.

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...