- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I’ve been trying to learn MASH and use it to create a lipid bilayer, which is the fatty layer surrounding all animal cells, to keep the cell contents in and all foreign bodies out. I’ve created three nCloth animated lipids, created a MASH network and then assigned them using the ID node. I then used replicator nodes to repeat the lipids numerous times and then another to create the inside layer, by rotating in Z 180 and offsetting the position in X and Y. This works really well and plays back really quickly, compared with my previous approaches. The problem I’m having is with collisions. I will need to be able to collide molecules with the inner layer of lipids and also have the lipids collide with molecules that actually reside within the membranes. I've attached a couple of images of the lipid bilayer, with animated nCloth lipid instances. You can see a lot of repetition and intersection because I only used three instances in this rough test.
What I’d like to do is have the lipids close to the grey cylinder (a receptor standin) collide with it and I’ve been tearing my hair out as to how to do this. I’ve tried adding a MASH dynamics node and then a spring constraint within that, but the dynamics node slows the system to virtually zero. I’ve tried to find a way of limiting the dynamics effect to a small area around the cylinder, but couldn’t work this out. I’m sure there is a really simple way to achieve this, but my inexperience is hindering me. If you could please advise how to limit where the dynamics node is felt or a way of achieving collisions without the dynamics node, that would be absolutely fantastic.
Solved! Go to Solution.