Jump to content

Variable (internal) Glue Settings


rdg

Recommended Posts

Hello,

please help me to understand the (internal) glue settings.

I have watched the gnomon dvd and searched the forum, but I am missing something ...

My idea was similiar to - or even based on - the thread by MADjestic [1]

I want to use the RDG Color Cube to define different 'glue zones' in a fractured object.

After trying all sort of things, I decided that the setup described in

DOP_EXAMPLE_rbdglueobject_ChoreographedBreakup.cmd

is the most promising approach to this.

Currently I am far away from reading colors to define values.

In the attached file I set

the glue strength for the 'point objects instanced' in rbdstate1 to:

if ($OBJ > 3, -1, 0)

I read this as: all object after the third should stick together for ever, the first three break on first contact. The forth also gets loose, but this doen't matter as this is a simulation and I am aware that all these values describe ratios.

What I don't understand:

if ($OBJ > 2, -1, 0) results in all fragments staying fixed.

Often writing such a question seems to help:

My answer is:

This -1 is virtualising the situation, a fragment surrounded by too many -1's cannot break loose.

This looks much more promising:

[set always] Glue Strength: if ($OBJ > 2, 80000, 99)

[set always] Glue Impulses: 100

But I also see that my original goal is much harder to reach.

I wanted some kind of sandblasting parts from my cube, defining the 'smoothness' of the material by colors. Like a granite - sandstone mixture.

To find the right ratio for those glues is maybe more difficult than reading the point color from sop to dop ...

Can the internal glue value also be changed with expressions per 'subobject', I could't find it in the detail view ...

Georg

[1] http://forums.odforce.net/index.php?showto...l=internal+glue

choreo_sample.zip

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