Dops
FETCH DATA FROM DOP TO SOP using expression:
`dopfield(dop, objectSpec, subDataName, recordType,recordNum, fieldName)`
http://127.0.0.1:48626/expressions/dopfield
example to fetch imuplse strength
dopfield("../..", stamp("../OUT", "OBJID", 0), "Impacts", "Impacts", stamp("../copy_forcelines", "copy1_pt", 2), "impulse")
example to fetch impact position.X from dop:
`dopfield("../..", stamp("../OUT", "OBJID", 0), "Impacts", "Impacts", $PT, "positionx")`
For ignoring collisions in particular RBDpacked object:
There are two important attributes to do this in a simple way
@collisiongroup
@collisionignore
Quick Rigid body constraint networks important attribs:
On constraint network
- primitive attrib - @constraint_name
- point attrib - @name
On RBD objects
- point attrib - @name
it will constraint the points matching @name attribute
TIP:
GLUE Constraints cant be broken by applying forces, It can only break by the impact!
Hard constraints with break threshold based on force can be a workaround for the above issue
Cone-twist constraints along with break threshold based on angle can create intresting bend effect before the objects break
spring constraints needs rest-length attribute in the constraints primitive, this can be modified in sop solver to get interesting effects.
Important two attribs for cloth and wire sim
Dont ever forgot normal drag and tangent drag which will affect the sim drastically