Objects Apart ...

Blitz3D Forums/Blitz3D Programming/Objects Apart ...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi,
I have 2 sphere objects ('ObjectA' and 'ObjectB'). I have my physics routine running with perfectly where each of these balls bounce around the environment. What I need to do though is have it that the two objects stay together, at all times. They can rotate around each other but they can never be a Nth distance apart.

Can anyone help me out with this with a bit of code?

thanks in advance,

Mike