Jump to content
AntoineSfx

How to drive activation with SOP ?

Recommended Posts

Posted (edited)

Say I have a RBD Packet Object and a bunch of obstacles to jump over

I have a velocity Impulse force that needs Activation set to 1 at various locations in space and maybe a direction , i.e a bit before the object reaches the obstacle.

In DOP, how do I get those values from a SOP context ?

I would like to set some points and vectors somewhere, and use those as an indication as to where and how much the object should jump

Edited by AntoineSfx

Share this post


Link to post
Share on other sites

Uhm. How about animating the @active attribute?
@active=0 means no simulation while @active=1 means the simulation will take over.
 

Share this post


Link to post
Share on other sites
2 hours ago, bentraje said:

Uhm. How about animating the @active attribute?
@active=0 means no simulation while @active=1 means the simulation will take over.
 

Because I don't know when it needs to be active.

I only know where it needs to be active, i.e as some information in SOP.

Share this post


Link to post
Share on other sites

RE: I only know where it needs to be active, i.e as some information in SOP.

I mean you can just place a bounding box or any geometry where it needs to be active and maybe attribute transfer from @active=0 to @active=1?

Share this post


Link to post
Share on other sites
5 hours ago, bentraje said:

RE: I only know where it needs to be active, i.e as some information in SOP.

I mean you can just place a bounding box or any geometry where it needs to be active and maybe attribute transfer from @active=0 to @active=1?

you can't attribute transfer in DOP, and in SOP upstream from dopimport, it's a fixed object.

 

Share this post


Link to post
Share on other sites
10 hours ago, AntoineSfx said:

Say I have a RBD Packet Object and a bunch of obstacles to jump over

I have a velocity Impulse force that needs Activation set to 1 at various locations in space and maybe a direction , i.e a bit before the object reaches the obstacle.

In DOP, how do I get those values from a SOP context ?

I would like to set some points and vectors somewhere, and use those as an indication as to where and how much the object should jump

SOP Solver DOP, Geometry Wrangle or Geometry VOP are your main ways of referencing data from SOPs inside of your simulation.

 

Share this post


Link to post
Share on other sites

I'd love to see how to attribute transfer from a RBD Packed to a curve in a dop network. Then read data from that curve in order to drive Activation for example.

  I quite don't get the logic.

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

×