@wacov said:
Thanks guys! One thing I'm finding with the cloth is it tends to collide with itself. That seriously slows stuff down, and it's not really neccessary for a semi-realistic simulation. Can we have object-specific collision detection? So, give the choice to either collide with everything, collide with everything except '...', or collide with nothing but '...'. Keep it pretty intuitive, so using a string finds objects of that name, a var for specific objects, and let us put them into an array if needed.
So, on the cloth, I'd name all the bars the same, and tell them to collide with everything except each other. You might also be able to make a crude fluid flow effect by creating spheres that only collide with the static mesh.
In the physics engine you would need materials to do that. So don't expect it until SPIV.
One thing you could do that might speed things up is to change the connect script to something like this.
ontouch{|t,s,p|
connect(t,"ball") if frame==1
#empty the ontouch event after the first frame.
#this will ensure that ontouch isnt called again.
ontouch{} if frame>1
}