Does anyone know where I could find the source code or how I would go about creating cable physics like in the example below?
http://lab.andre-michelle.com/cable-interface
Thanks!
Printable View
Does anyone know where I could find the source code or how I would go about creating cable physics like in the example below?
http://lab.andre-michelle.com/cable-interface
Thanks!
Check this thread for a rough start:
http://board.flashkit.com/board/showthread.php?t=763923
The difference for your example is where the control point is - instead of an s-shape between the two points, you want to find the midpoint and then move it down a ways for the 'droop' in the cable.
You will also find lots of cool stuff on bezier curves and other math here
http://www.reflektions.com/miniml/te...cat.asp?cat=25
Paul Ortchanian presented on this at flashforward 2007 and all his source code is free to download
mark