Hey guys. I was wondering how to connect a line between two movable bodies using the graphics.moveTo and graphics.lineTo options.
I'll post some basic code if its needed. Thanks guys!!
edit:
Wait...maybe not using that method. Any line that connects the two objects (bodyDef's) from center to center regardless of the distance. Or how do I find the center of the bodyDefs? Any nudge in the right direction is a blessing. Thanks guys!
I'll post some basic code if its needed. Thanks guys!!
edit:
Wait...maybe not using that method. Any line that connects the two objects (bodyDef's) from center to center regardless of the distance. Or how do I find the center of the bodyDefs? Any nudge in the right direction is a blessing. Thanks guys!