nCloth as leaves


#1

Hi guys.

I spend some time looking for answer, but I can’t find it so maybe here could help me out.

What I want to achieve are dynamics leaves on tree/branch.
Do you think it is possible to make kind of hinge/angle constraint between plane(leaf) and object and during simulation keep track of initial angle with some dynamic parameters ?

I’m looking for kind of single axis constraint …
THANKS IN ADVANCE!


#2

If you constrain an edge with nCloth then the bend resistance on the constraint will work. It can be slow to compute for a lot of edges though. Sometimes it is better to simply constrain multiple points with a point to surface constraint. The tangent strength on a point to surface constraint will determine how much the point can bend.

Also you might find this useful:
http://area.autodesk.com/blogs/duncan/falling_leaves_with_ncloth_and_paint_effects


#3

Hi Mr Duncan

I’m glad you’re here.

So to be clear. It is not possible to connect two objects by pair of points (single point for branch and single point for a leaf) and have control over “bend” (hinge) ??

Huge Thanks !!


#4

If you connect points it doesn’t know what axis to hinge across. If instead you connect two edges it does.


#5

I’ve attached a simple scene with a cloth plane constrained to a sphere. One edge on both the cloth and the sphere was selected and a component to component constraint created. The bend values on the cloth and constraint were then set to the desired values.

Now this is just for those two edges, however you could make the constraint more general:
Edit the two components for the constraint
nComponent1 (the cloth plane)
Elements = Borders
ComponentType = Edge

nComponent2 (sphere)
Elements = All
ComponentType = Edge

Now on the constraint (dynamicConstraintShape1)
Connection Method = within max Distance
Max Distance = .15

Now you can move the cloth to anywhere and its nearest border will be edge constrainted to the nearest edges on the sphere.


#6

Sure thing.
Big thanks for explanation.

Best for you!