How to move an agent across unwrapped mesh edges (with toxiclibs?)
in
Contributed Library Questions
•
2 years ago
I have an agent system and would like my agents to move on the surface of an arbitrary 3D shape.
It would be great to hear the suggestions on how to make this happen.
Here is what I thought:
1. Make a 3D model in an external application.
2. Unwrap it there into a flat model (using UV Unwrap or a different method).
3. Make the agents move on the unwrapped mesh in 2D (problem: how can I make them move across separated edges?).
4. Export the 2D positions into an external application, generate a texture there and wrap it back onto 3D geometry.
Can someone advise on how to achieve p.3?
It would be great to hear the suggestions on how to make this happen.
Here is what I thought:
1. Make a 3D model in an external application.
2. Unwrap it there into a flat model (using UV Unwrap or a different method).
3. Make the agents move on the unwrapped mesh in 2D (problem: how can I make them move across separated edges?).
4. Export the 2D positions into an external application, generate a texture there and wrap it back onto 3D geometry.
Can someone advise on how to achieve p.3?
1