Hello guys! Got some questions about the new “RBD Bullet Solver.” Does anyone know how to remove constraints based on certain position attribute conditions?
You could see the simple vex that I’ve typed in the attached pic. But seems like it doesn’t work… I would be very grateful if anyone can tell me where did I do wrong.
RBD Bullet Solver
586 1 0- chiu8652
- Member
- 1 posts
- Joined: Aug. 2021
- Offline
- npetit
- Staff
- 379 posts
- Joined: Feb. 2008
- Offline
The proper VEX syntax to is - the last argument specifies whether or not to remove the primitive points along with the prim itself, so as to avoid having unconnected points left.
However, the VEXpression is only being run on the group of constraints that have the specified constraint names "Soft" and "Hard". If you want this to run on your Glue constraints, add "Glue" to the "Constraint Names" parameter, or replace it all with "*" instead if you want it to run on all constraint types.
removeprim(0, @primnum, 1);
However, the VEXpression is only being run on the group of constraints that have the specified constraint names "Soft" and "Hard". If you want this to run on your Glue constraints, add "Glue" to the "Constraint Names" parameter, or replace it all with "*" instead if you want it to run on all constraint types.
-
- Quick Links