Setting Vellum restlength scale by attribute
2738 3 0- AndyW
- Member
- 336 posts
- Joined: 12月 2014
- Online
- vusta
- Member
- 555 posts
- Joined: 2月 2017
- Offline
- tamte
- Member
- 8592 posts
- Joined: 7月 2007
- Online
AndyWyou need to take the values from the grometry that you painted on, (or directly from sops if you want it to update)
I must be missing something simple here, it's not working for me. Any ideas?
... float factor = point(1, "factor", pt); ...
also you may want to average atributes from both ends
https://forums.odforce.net/topic/43269-painting-restlength-on-vellum-cloth-constraint/?tab=comments#comment-205001 [forums.odforce.net]
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- AndyW
- Member
- 336 posts
- Joined: 12月 2014
- Online
-
- Quick Links