Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

UV Pin
Sometimes we want to simulate a group of bugs crawling on the arm/hand, and the arm/hand are still deforming. At this time, we can use the UV Pin Tool. We can pin the agents onto the deforming object, and these agents can still performing their logic behavior and movement, all of their locomotion will be calculated in the UV space.

...



Agents moving on the surface

...


Sentences and usage

uvpin:<shape node name>UV Pin

  • use UV pin me to:??
  • unpin me from any object

 
For pin our agents on the surface of mesh is extremely simple, we just need one output channel.

Such as when our node active, the output "uvpinuse UV pin me to:pSphereShape2" can pin our agents onto the mesh which name is "pSphereShape2"

 

If you need to detach from object, we need another decision node and when node inputs activate, use output decision: unpin me from any object