PDA

View Full Version : Sticky Spheres?


Tiziano
11-26-2005, 07:55 PM
I have two spheres a specific distance apart that I need to stay that way. I've tried various Xpresso solutions but, if they work at all, most have problems. You see, it's not only sticking them together that I'm trying to do, I'm also trying to make them retain the ability to rotate around each other but never move farther apart.

Attached is one file with two versions that don't work.

Anyone have a better idea?

Cross posted on 3dAttack too :D

Srek
11-26-2005, 08:07 PM
Hi,
check the attached file. You need the difference vector between the positions of the objects and keep it constant by reducing it to a normal and multiplying it with the intended distance.
Hope this helps
Björn

Tiziano
11-26-2005, 10:12 PM
Thanks Srek. :thumbsup:
I went through the file and I think I understand.

Off to adapt to my situation.

CGTalk Moderation
11-26-2005, 10:12 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.