Click to See Complete Forum and Search --> : AS3 Cable Physics: How do I do it?
kranzoky
05-28-2009, 01:52 PM
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!
neznein9
05-28-2009, 02:41 PM
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.
mgason
05-28-2009, 04:39 PM
You will also find lots of cool stuff on bezier curves and other math here
http://www.reflektions.com/miniml/template_archives_cat.asp?cat=25
Paul Ortchanian presented on this at flashforward 2007 and all his source code is free to download
mark
flashkit.com
Copyright Internet.com Inc., All Rights Reserved.