Trigger Animation in DOPnet

   587   8   1
User Avatar
Member
17 posts
Joined: 1月 2022
オフライン
Hello,

I'm attempting to create a sorting machine for RDB objects in a DOPnet. To do this, I need to move a static object based on the position of an active object inside a DOPnet.

To simplify the setup, I have an RBD packed object (sphere) that is affected by gravity. Below the spehere is a tube that is a deforming static object that will serve as the collider.

I'm trying to have the tube move in the negative x direction to hit the sphere when the sphere reaches a specified y-position. Ideally, the position of the tube would reset in order to collide with additional spheres that will be emitted.

I'm having trouble understanding how to trigger the animation of the collider based on the position of the falling sphere.

Thanks in advance for any guidance.
Edited by BSwarth - 2025年11月18日 20:27:00

Attachments:
Group 1.jpg (720.1 KB)

User Avatar
Member
8 posts
Joined: 9月 2014
オフライン
Do not use collider with static object, but include your tube as rbd objects with i@active set to 0. Then you can do whatever you want with animation using geometryWrangler
User Avatar
Member
17 posts
Joined: 1月 2022
オフライン
Thanks for the insight Ferry.

How would I go about animating the tube based on the position of the falling sphere?
User Avatar
Member
8 posts
Joined: 9月 2014
オフライン
if you are only dealing with 1 sphere and 1 tube:
Edited by Ferry Taswin - 2025年11月18日 20:45:05

Attachments:
img_251119_12.40.30PM_.jpg (61.8 KB)

User Avatar
Member
17 posts
Joined: 1月 2022
オフライン
Thanks for the quick response Ferry. I'm sorry but I'm a bit confused...

Where is the "i_am_tube" group being set?
User Avatar
Member
8 posts
Joined: 9月 2014
オフライン
you can set it up in sop land to diferrentiate sphere and ball, active and inactive, whatever suits you
User Avatar
Member
17 posts
Joined: 1月 2022
オフライン
I've created a sample scene that is more representative of what I'm trying to achieve. How would I trigger the animation of the tube to collide with each blue falling sphere, pushing the sphere out of the way then moving back to the tube's origin after pushing the blue sphere.

Attachments:
Trigger_animation_in_DOPnet.hiplc (442.1 KB)

User Avatar
Member
8 posts
Joined: 9月 2014
オフライン
First of all, RBD needs packed objects to work with
Second, any initial behaviour is better set on sop level

Hopefully this gives you lead to what you can do next.

Attachments:
Trigger_animation_in_DOPnet_ftaswin.hiplc (503.1 KB)

User Avatar
Member
17 posts
Joined: 1月 2022
オフライン
Thank you so much Ferry. I really appreciate your help and I am looking forward to studying this file.
  • Quick Links