Setting Vellum restlength scale by attribute
4361 3 0-
- AndyW
- Member
- 343 posts
- Joined: Dec. 2014
- Offline
-
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
-
- tamte
- Member
- 9380 posts
- Joined: July 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
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- AndyW
- Member
- 343 posts
- Joined: Dec. 2014
- Offline
-
- Quick Links


