caskal Posted May 12 Share Posted May 12 (edited) Hi magicians, I need to create this magnetic chain effect, any overall ideas on how to tackle it? Any advice will be helpful. Thanks! chrome_wbKHieExLp.mp4 Edited May 12 by caskal Quote Link to comment Share on other sites More sharing options...
caskal Posted May 13 Author Share Posted May 13 Update, using spring constraints and adjusting dynamically, but im struggling to magnet on the tip and create that connection like the reference any thoughts? houdini_LxHtAHVQ3h.mp4 Quote Link to comment Share on other sites More sharing options...
Atom Posted May 15 Share Posted May 15 Ask chat... Quote inside houdini, I have equal height cylinders sitting on a ground plane. They are arranged in a pattern spiraling inward. I'm trying to create a visual effect where the outer, first cylinder becomes magnetized and dynamically attracts each neighboring cylinder, physically connecting, eventually forming a straight line of cylinders at the end. I didn't get an exact solution out of ChatGPT, but I did ask it to write Houdini python code to generate a scene. Perhaps there is something in here you could lift? ap_spiral_to_magnetic_line_051526.hiplc 1 Quote Link to comment Share on other sites More sharing options...
Sepu Posted May 15 Share Posted May 15 Also it would help to share what you have so people can help and not start from the begging. Quote Link to comment Share on other sites More sharing options...
caskal Posted May 15 Author Share Posted May 15 Hi guys, @Atom I've tried claude, some nice overall instructions but the python scene was pretty broken. This is what I have so far, at least i got a better understanding on how to approach it. houdini_XyQkhMDgGS.mp4 That said, Louis Manjares on Facebook (which also gave me some hints) tackled the reference exactly, love his result: chrome_o97jFalZu9.mp4 Cheers! Quote Link to comment Share on other sites More sharing options...
fencer Posted May 16 Share Posted May 16 (edited) Simple way to define magnetic side initially, more fun is to find out side on fly by availability, distance etc. magnet_chain_v01.hipnc Edited May 16 by fencer 4 Quote Link to comment Share on other sites More sharing options...
caskal Posted May 18 Author Share Posted May 18 @fencer whoa thats an INSANE result! thanks for sharing the hip, im gonna check it now and study, didn't know RBD could be this fun. Thanks again! appreciate it! Quote Link to comment Share on other sites More sharing options...
caskal Posted 16 hours ago Author Share Posted 16 hours ago Hey @fencer quick question, I've been trying to fix the intersections doing a bunch of stuff, adding substeps, switching convex to cilinder, and other 10 things I saw on forums, without any luck. Best result so far I had having box as collision, but it changes the behavior. Do you know what else can I try to avoid any intersections? I've also tried to rotate them to start like this: but I like the behavior that I had initially, so ended using a transform pieces post sim, with the rotation, but of course, that adds even more intersections. Attaching the file if you had any time to check it, im getting crazy trying to solve it, no worries if not, already helped me with this magnific setup! Thank you! magnet_issue.hiplc Quote Link to comment Share on other sites More sharing options...
CarlosGuzman Posted 10 hours ago Share Posted 10 hours ago Hi Here is my approach to this effect: chain.mp4 magnetos_stick_02.hip 2 Quote Link to comment Share on other sites More sharing options...
fencer Posted 8 hours ago Share Posted 8 hours ago 8 hours ago, caskal said: Hey @fencer quick question, I've been trying to fix the intersections doing a bunch of stuff, adding substeps, switching convex to cilinder, and other 10 things I saw on forums, without any luck. Best result so far I had having box as collision, but it changes the behavior. Do you know what else can I try to avoid any intersections? I've also tried to rotate them to start like this: but I like the behavior that I had initially, so ended using a transform pieces post sim, with the rotation, but of course, that adds even more intersections. Attaching the file if you had any time to check it, im getting crazy trying to solve it, no worries if not, already helped me with this magnific setup! Thank you! magnet_issue.hiplc 1.14 MB · 2 downloads Try to adjust closer to worldscale, based on this collision padding and amount of bullet substeps. Check constraints, seems something messed up here. Also, PY position initially is under the ground what doesn't help. 1 Quote Link to comment Share on other sites More sharing options...
caskal Posted 6 hours ago Author Share Posted 6 hours ago 2 hours ago, fencer said: Try to adjust closer to worldscale, based on this collision padding and amount of bullet substeps. Check constraints, seems something messed up here. Also, PY position initially is under the ground what doesn't help. Thanks for the tips! gonna check that out, thanks again for taking time to help me! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.