Hi,
what I want to achieve is actually really easy: A grid is pinned by all 4 corner points until Frame 30, where 2 corner points are released so the cloth falls down and is only hanging on the two remaining pins.
I know you can't animate the group since it's only read on the first frame so I guess I have to do it with constraints somehow but I couldn't figure out how :/
Vellum Cloth Animate Pins
2076 2 0-
- eaniix
- Member
- 68 posts
- Joined: Nov. 2021
- Offline
-
- Enivob
- Member
- 2658 posts
- Joined: June 2008
- Offline
Start off with your pin group set to Stopped, not Permanent.
Dive into the solver and add a geometrywrangle connected to FORCE.
You'll have to view which point numbers you have pinned, but here is the code you place in the geometrywrangle to "un-stop" them. Once they are "unstopped" they are no longer pinned.
In my example, the corners are @ptnum 1 and 62.
Dive into the solver and add a geometrywrangle connected to FORCE.
You'll have to view which point numbers you have pinned, but here is the code you place in the geometrywrangle to "un-stop" them. Once they are "unstopped" they are no longer pinned.
In my example, the corners are @ptnum 1 and 62.
if(@Frame > 29){ if (@ptnum == 1){i@stopped = 0;} if (@ptnum == 62){i@stopped = 0;} }
Edited by Enivob - July 18, 2023 11:21:44
Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
-
- eaniix
- Member
- 68 posts
- Joined: Nov. 2021
- Offline
Enivob
Start off with your pin group set to Stopped, not Permanent.
Dive into the solver and add a geometrywrangle connected to FORCE.
You'll have to view which point numbers you have pinned, but here is the code you place in the geometrywrangle to "un-stop" them. Once they are "unstopped" they are no longer pinned.
In my example, the corners are @ptnum 1 and 62.if(@Frame > 29){ if (@ptnum == 1){i@stopped = 0;} if (@ptnum == 62){i@stopped = 0;} }
Thank you so much! Exactly what I needed!
-
- Quick Links

