meerkat Posted March 21, 2006 Share Posted March 21, 2006 i am really having some trouble getting my head around wire dynamics. I have a deforming sphere and i want to add a single dynamic sphere to and i cant see where i have gone wrong. I have attached the file i am working on, can someone please explain where i am going wrong? thanks amir deforming_sphere_wire.hip Quote Link to comment Share on other sites More sharing options...
craig Posted March 22, 2006 Share Posted March 22, 2006 You were very close The problem is that the goalpoint attribute should be -1 at all the points of the hair except the one you want to anchor. For that point, the value of the attribute should be the index of the point you want to anchor to, on the goal geometry. Confusing, I know, but in your example, trivial to fix - just reverse the Value and Default fields in the attributecreate SOP. deforming_sphere_wire_fix.hip Quote Link to comment Share on other sites More sharing options...
meerkat Posted March 23, 2006 Author Share Posted March 23, 2006 thanks, i finally understand how it all works now. yay. I have another little problem though: is there a way of re-cooking the dop net withought going into dops and pressing the re-cook button? Quote Link to comment Share on other sites More sharing options...
craig Posted March 23, 2006 Share Posted March 23, 2006 is there a way of re-cooking the dop net withought going into dops and pressing the re-cook button? 25884[/snapback] I'm not sure what you mean. Why would you need to recook it if you weren't in there changing any values? On the other hand, on the dopnet tile, there is a parameter tab labeled Simulation, and that has a "Recook Simulation" button on it - does that do what you need? Quote Link to comment Share on other sites More sharing options...
meerkat Posted March 23, 2006 Author Share Posted March 23, 2006 Why would you need to recook it if you weren't in there changing any values? i need to reecook because when i animate my character some of the wires mess up abit when i rewind and press play and need to be reecooked until they are good. i think the recook simulation button on the dopnet is just what i need. thanks Quote Link to comment Share on other sites More sharing options...
meerkat Posted March 29, 2006 Author Share Posted March 29, 2006 how would i go about making a wire more floppy towards the tip and more sturdy but not completely rigid at the root? thanks again in advance amir Quote Link to comment Share on other sites More sharing options...
craig Posted March 30, 2006 Share Posted March 30, 2006 how would i go about making a wire more floppy towards the tip and more sturdy but not completely rigid at the root? 26130[/snapback] When you create your wire(s), you should add an attribute to them (using the createattribute SOP) that is called kangular. Set this to a value that represents the "resistance to bending" that you want - 0 means no resistance, and numbers around 10 mean very resistant. You'll have to experiment to get the exact values you want, but basically, using something like a point SOP, you set the kangular value to lower numbers near the tip and higher numbers near the base. wireAttributes.hip 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.