Jump to content
Sign in to follow this  

Vellum "instance on points" and pscale

Recommended Posts

Hello guys

So I have this little bump in the road : I'm emitting vellum instances from a surface. Orient, pos, and various attributes like v work OK, but I can't find the correct way to inject pscale. What happens is that the instanced geometry first appear (p)scaled like expected, but it expands back to the original size after a few frames.

My guess is that either restlength or restscale aren't affected by pscale hence the expanding back behaviour, so the question is : how should I proceed ? Can I somehow edit restlength on creation but before solve ? Should I do something else entirely ?


Thanks !


Share this post

Link to post
Share on other sites

Hey Olivier,

you can create custom id attribute per every instance point, transfer it to the geometry and then use it to pull the pscale data directly per-point/per-constraint using geometry wrangle, to update the thichkness/restlength. 

Maybe there is a more elegant solution, but it is easy to just bruteforce it like that (:


Edited by rayman
  • Like 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this