syzmatrix Posted April 10, 2012 Share Posted April 10, 2012 Hello everyone! I have a matrix of boxes which are keyframed by rotation. and when they are hit the ground, there is red color mark change the box color. What I want to do is dynamic releasing these boxes in to a rbd object in bullet enviroment. So how can I achieve this goal, I will be very appreciated if you guys can offer some help:-) box.hipnc Quote Link to comment Share on other sites More sharing options...
sadhu Posted April 10, 2012 Share Posted April 10, 2012 (edited) See the attached file, it may give you some hint. box_activation_by_color.hipnc Edited April 10, 2012 by sorry Quote Link to comment Share on other sites More sharing options...
michaelw Posted April 10, 2012 Share Posted April 10, 2012 hi sorry, I don't think the problem is that easy. I saw the post of syzmatrix on SideFX forum a couple of days ago and I tried to use the similar approach as yours, but I noticed that the motion looks weird. The actual result is a combination of the keyframe animation and the rigid body simulation. So the box are not actually "released". Check out the attached file. I added a ground inside DOP and therefore the expression in your activevalue DOP is changed to "$OBJID-2". I also changed the keyframe a little bit to see the result earlier. I think the question from syzmatrix is actually a very good request for this kind of feature. I remember the technical demo from 2012, the two buildings are colliding each other. The video shows the transition from keyframe to the dynamics simulation. I'm still wondering if there's any easy way inside houdini to do this kind of thing. box_not_working.hipnc Quote Link to comment Share on other sites More sharing options...
sadhu Posted April 10, 2012 Share Posted April 10, 2012 When rbd object is activated it is also affected by use deforming geo option. So we can create two groups based on color one will be keyframed controlled and other will be dynamically controlled. box_working.hipnc Quote Link to comment Share on other sites More sharing options...
sadhu Posted April 10, 2012 Share Posted April 10, 2012 Here is a corrected version. Maintaining the original size of obj and once the rbd is activated it should always be activated even if there is no color on the box point after having color for sometime. box_working_corrected.hipnc Quote Link to comment Share on other sites More sharing options...
leadingblade Posted April 11, 2012 Share Posted April 11, 2012 Maybe the problem could be simple, can we put different rbd objects with initial speed in different time into dop net,by coping the shape and velocity of the box when it hit the ground into dop network. Quote Link to comment Share on other sites More sharing options...
syzmatrix Posted April 16, 2012 Author Share Posted April 16, 2012 hey thanks guys ,your ideas are really inspiring, I learn a lot from your hip file:} Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.