Jump to content

Hard Constraints Problem - Force Reaching Infinity


tbay312

Recommended Posts

Hey there odforce!

 

    Right now I'm trying to do a destruction simulation on a spaceship that I made, and I'm running into a problem that I can't seem to figure out.  If anyone is familiar with Steven Knipping's Rigids III, the general setup is based off his approach.  Here's some quick info on what I'm doing:

*  I'm simulating the spaceship destruction with bullet/packed primitives

*  These packed prims are a mixture between voronoi shattered pieces and unshattered geo pieces

*  Even when the spaceship is standing still, forces on the constraint prims will reach infinity once simulation begins

*  In DOPS, I've made a SOP solver that breaks my hard constraints once it reaches a certain force threshold, and since things are reaching infinity, it's basically just destroying all my hard constraints within a few frames 

 

Here's the ship:

 

image.thumb.png.c9c5051c92d8e05abdb612d373f0e24b.png

Here's the constraints using connect adjacent pieces from surface points with default values:

image.thumb.png.2be42db74e096c238f35c2b67b8ba78f.png

After a few frames of simulation, it turns to dust =/

image.png.de32d87e5e4edd8039de97040b1575b2.png

 

In dops, force is shown to reach inf and breaks the constraints based off my attrib wrangle which says...

f@superHighNum = 100000000;

if(f@force > f@cat_hard_break_force && f@cat_hard_break_force < f@superHighNum){
    @group_broken = 1;
}

where f@cat_hard_break_force is the force threshold that I define

I tried countering this behavior by adding the f@superHighNum, but it looks like forces gradually reach infinity, so it still breaks...

image.thumb.png.a0453e343bfd47cb0885628ff57e7280.png

 

Has anyone encountered this sort of issue before?  If so, what might cause these forces to reach infinity?

 

Here's a few things I've tried:
 

* Cleaning up the mesh and fusing points before connect adjacent pieces

image.png.816c466370c57b6973a2b8757fd66b51.png

*  Setting rest length to zero

*  Blasting funky looking constraints before simulation

*  Trying a bunch of different settings on connect adjacent pieces when generating the constraints

*  Simulating with glue constraints to see if forces still reached inf (they do not reach infinity with glue)

*  Increasing the constraint force mixing parameter

image.thumb.png.6e393e0cfaacaf3d98a810ea64bdd8fc.png

*  The RBD physical properties are at default values

 

Also be sure to check out Steven's tutorials because they're really awesome.  I couldn't find his e-mail to ask about it, but perhaps you guys might have some ideas? :)

Any thoughts, theories, ideas, would be greatly appreciated, thank you for your time!

 

-  Tyler

 

 

ssGainz_v011.hiplc

Link to comment
Share on other sites

Seems like you have some issues with collision geometry, try to display  collision geo in rbdpackedobject at dop level. If you don't see issues try to decrease shrink value for collision geo, usually it is 0.02 try may be 0.001 ( depends on size of you ship ).

Link to comment
Share on other sites

  • 9 months later...
  • 3 years later...

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