Jump to content


dynamic release


  • Please log in to reply
6 replies to this topic

#1 syzmatrix

syzmatrix

    Peon

  • Members
  • Pip
  • 47 posts
  • Joined: 14-April 08
  • Name:s yz

Posted 09 April 2012 - 06:32 PM

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:-)

Attached Files



#2 sadhu

sadhu

    Initiate

  • Members
  • PipPip
  • 172 posts
  • Joined: 09-July 09
  • Location:Mumbai, India
  • Name:Sandeep Doshi

Posted 10 April 2012 - 02:58 AM

See the attached file, it may give you some hint.

Attached Files


Edited by sorry, 10 April 2012 - 02:59 AM.


#3 michaelw

michaelw

    Peon

  • Members
  • Pip
  • 21 posts
  • Joined: 22-December 11
  • Name:mike w

Posted 10 April 2012 - 05:10 AM

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.

Attached Files



#4 sadhu

sadhu

    Initiate

  • Members
  • PipPip
  • 172 posts
  • Joined: 09-July 09
  • Location:Mumbai, India
  • Name:Sandeep Doshi

Posted 10 April 2012 - 05:39 AM

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.

Attached Files



#5 sadhu

sadhu

    Initiate

  • Members
  • PipPip
  • 172 posts
  • Joined: 09-July 09
  • Location:Mumbai, India
  • Name:Sandeep Doshi

Posted 10 April 2012 - 06:56 AM

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.

Attached Files



#6 leadingblade

leadingblade

    Peon

  • Members
  • Pip
  • 1 posts
  • Joined: 10-April 12
  • Location:china
  • Name:leading brade

Posted 10 April 2012 - 07:56 PM

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.

#7 syzmatrix

syzmatrix

    Peon

  • Members
  • Pip
  • 47 posts
  • Joined: 14-April 08
  • Name:s yz

Posted 15 April 2012 - 08:09 PM

hey thanks guys ,your ideas are really inspiring, I learn a lot from your hip file:}




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users