Jump to content

Recommended Posts

Hi, I wonder if it is possible to trigger an animation on an event.

Let's say I have a sphere, I simulate it falling on the ground just using a Dopnet and a ground plane as a static object.

And let's say I want to play an animation each time the sphere touch the ground, like waves on some water.

How can I do it ?

I've heard of RBD Impact Analysis, but I can't find how to use the generated points for something like it ?

Can someone help me ?

And can I have an example file ?

I link an example of wave that I want to trigger when the sphere touch the ground

Sound_Wave_v001.hip

Share this post


Link to post
Share on other sites

Hey I think Bullet uses its own impact data (the toggle is on the RBD Packed Object under 'Bullet Data'). You can get rid of the Impact Analysis and use a "DOP Import Records" SOP with the 'Data' and 'Records' path both set to 'Impacts' to grab the impact data. Like So:

houdini_UM8gvYyKTD.png.e1ac78ae2f1231d175809fca213bf459.png

The impact data (the impact points) are only pulled in on the frame of the collision and deleted right after (they are not persistent) so I used a SOP Solver to grab and hold it. 

Disclaimer: I'm not sure this is the proper workflow but at least it worked for me on your file.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×