PDA

View Full Version : stop object from intersecting


shmo
05-16-2008, 10:02 AM
How do you stop objects from colliding? This would apply for say, poly modeled hair, a character made from various objects, a shoal of fish

is the a soloution?

Srek
05-16-2008, 10:46 AM
There are different solutions for different problems. The school of fish (aasumed you do it using TP) would use a smooth object collission (PCollision node with high surface value) and a softbounce to keep the fish away from one another using PRepulse and Bounce.
For the hair it depends on how you do it. If you use the Hair model with Hair set to create polygons the hair collision detection will work just fine. For anything else i have used either the Collision node in Xpresso to detect collisions and let my rig react accordingly and at some point i used Dynamics proxy objects to control bones, but that turend out to be only partly usefull.
hope this helps
Björn

shmo
05-16-2008, 01:49 PM
There are different solutions for different problems. The school of fish (aasumed you do it using TP) would use a smooth object collission (PCollision node with high surface value) and a softbounce to keep the fish away from one another using PRepulse and Bounce.
For the hair it depends on how you do it. If you use the Hair model with Hair set to create polygons the hair collision detection will work just fine. For anything else i have used either the Collision node in Xpresso to detect collisions and let my rig react accordingly and at some point i used Dynamics proxy objects to control bones, but that turend out to be only partly usefull.
hope this helps
Björn

bjorn,

many thanks for your reply. Those are great leads that im looking into, i like the creative use of dynamics and soft ik. Also your site is very helpfull. i remember coming accross it a while ago but i had not seen the mocca section

i came across this (http://www.flickr.com/photos/asterokid/2460415040/) and wondered what the simplest way to stop meshs from intersecting would be.

this (http://www.glossyinc.com/cheil/samsungexpress.html) also puzzels me somewhat. How are the objects prevented from moving into each other while skinned to a rig.

cheers,

jonny

Srek
05-16-2008, 02:03 PM
The samsung stuff looks like good animation, i doubt there is any collision detection going on. The polygonal hair example can be done with cloth easily.
Cheers
Björn

LucentDreams
05-16-2008, 04:56 PM
you can clearly see the thumb phone go through the finger phone. so there's no collision detection at all in that scene, just some care and decent animation. The hair and cloth in the first example though is either dynamics like a cloth dynamic system, or joint chains using something like hair or cloth or even just spring constraints

CGTalk Moderation
05-16-2008, 04:57 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.