animate velocity attibute over time in vellum

   113   1   1
User Avatar
Member
14 posts
Joined: Dec. 2018
Offline
Hello,

I'm trying to create some bullet impacts in a cloth. I have created am animated attribute to drive the impacts and modify the velocity. Then inside vellum solver added a pop wrangle to modify the points velocity. This is the code:

if(f@impact >0) @v = {0,0,200};

The only problem is that the vellum solver looks like is not reading my animated attribute.

Any help is apreciated.
User Avatar
Member
8785 posts
Joined: July 2007
Offline
Where are you animating your f@impact?
- If in SOPs you then need to sample it in DOPs yourself as Vellum is not updating attributes from SOPs automatically

- once you make sure f@impact is correctly updating the values your code should work, however, I'd avoid setting v@v directly, use v@force += {0,0,200};
Or use POP Force with VEXpression
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links