Jump to content
Sign in to follow this  
lyansart

Constraint don't follow object

Recommended Posts

hello guys,

pretty sure it's a silly question but atm can't wrap my head around it.

I have a rbd cache of a wall destruction. now, i would like to constraint other objects on it (window frame) but having it on another simulation.

What It's happening atm is that my constraint stay in place and don't stay attached to the the different wall pieces when they are imported in the new sim as a Deforming static object.
Any hints on how to make it work / what i am doing wrong?

thanks!

Share this post


Link to post
Share on other sites

use another rbdpacked object (for your animated pieces from previous sim) and set it to Animated Static instead of using Static Object

you can also control this behavior using point attributes if you want to import all pieces using single rbdpacked object

Edited by anim

Share this post


Link to post
Share on other sites
On 11/21/2019 at 6:11 PM, anim said:

use another rbdpacked object (for your animated pieces from previous sim) and set it to Animated Static instead of using Static Object

you can also control this behavior using point attributes if you want to import all pieces using single rbdpacked object

Hey Tomas, thanks for taking time to answer,

Importing the object in DOP works fine, what doesnt work is updating the constraints by being attached to this moving object. They seem to be 'frozen' on the first frame object..

Share this post


Link to post
Share on other sites

my point was that by using deforming geometry the transform of the object is not updating, just the geometry, therefore the constraints, that are moved by object transform will not update unless you are attaching the constraints directly to object's points

so either attach them to the points if your geometry is truly deforming, or use transforming (animated) rbds

Share this post


Link to post
Share on other sites

If you are using "glue" type constraints between a cached animated rbd object and an active rbd objects thats the problem, you can't use "Glue" try using hard or soft constraints with some basic dialing hard can act like glue :) good luck!

Share this post


Link to post
Share on other sites

glue should work too

Share this post


Link to post
Share on other sites
On 1/12/2019 at 4:24 PM, anim said:

glue should work too

does it? It doesn't seem to keep it attached neither with glue or with a hard constraint.. 



Does anyone have had this issue?
This my example: 

(Considering that where i have the simulated rubber toy i have indeed a cache - so i cannot simulate everything together)
 

seems so easy and still I can't seem to make it work..:huh:

test_constraint_01.hipnc

Share this post


Link to post
Share on other sites

Here I made the basic setup, I believe this is what you are after.

Red wall simulated as "Layer 1" then sent to "Layer 2" sim as animated static object and active sphere objects are attached to it. 

Something important; Always set the constraints between "active" -" animated static objects" breakable otherwise solver will be confused and may cause erratic behaviour as it will be stuck between unmoveable animated objects and unbreakable constraints.

Hope this helps

Constraints.mov

Animated_To_Active_Constraints_Yigit.hip

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
Sign in to follow this  

×