Attract objects to one another

   2572   5   1
User Avatar
Member
14 posts
Joined: Jan. 2017
Offline
Very new to Houdini, coming from C4D. Say i have two spheres in my scene. I want one to be stationary and the other to be an organic mesh that is attracted to the stationary sphere.. So when i simulate the scene, the softbody sphere should fly over and stick to the stationary sphere.

I hate to ask what i feel like is such a noob question.. but I've looked around and all i can find on attraction has to do with particles.. nothing on how to attract one object to another. I'm probably overlooking something that's right in front of my face but..

how would i go about doing this?

Thanks!
Edited by notalk - Jan. 20, 2017 01:29:53
User Avatar
Member
2042 posts
Joined: Sept. 2015
Offline
Interesting you ask that just now.

M. Petteren just posted recently a video tut that probably will help.

It's not doing what you want, but I think it has the basis from which you can start from.

https://www.sidefx.com/tutorials/quick-start-arrays-in-vops/ [sidefx.com]
User Avatar
Member
14 posts
Joined: Jan. 2017
Offline
Wow, thanks. Looks like i have some learning to do. Wish there was a simpler way.
User Avatar
Member
483 posts
Joined: Dec. 2006
Offline
Maybe this one ;-)

http://www.sidefx.com/docs/houdini/nodes/chop/lag [sidefx.com]

https://vimeo.com/6930074 [vimeo.com]
replaced the youtube link with the original on vimeo

Attached is a poor solution if you have non keyframe
object to follow
Edited by matthias_k - Jan. 21, 2017 06:10:28

Attachments:
lag.hip (98.2 KB)

English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
483 posts
Joined: Dec. 2006
Offline
I've read your question again…
https://vimeo.com/16448552 [vimeo.com]
comes maybe closer to your needs
Edited by matthias_k - Jan. 21, 2017 07:29:58

Attachments:
attract_001.hip (211.3 KB)

English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
14 posts
Joined: Jan. 2017
Offline
matthias_k
I've read your question again…
https://vimeo.com/16448552 [vimeo.com]
comes maybe closer to your needs

Perfect! Thank you so much!
  • Quick Links