I’ve trying to create an animated puppet with a skeleton that i can “pose” in flash. After some research i found out that to accomplish my goal i had to use something called Inverse Kinematics.
I don’t really understand the math behind it that well, but i used this tutorial made for as2 to create my own IKMember class, pretty much just copying it but translated to as3. This is my first attempt at the simplest of skeleton puppets : a Snake
For a drawing program made in flash, i came across the need to erase a bitmapData object using a custom brush tip. Finally i came across this example which was exactly what i needed, except it was written for actionscript 2.
I updated the script to actionscript 3, and added some extra comments that made me understand how this worked. I hope it saves you some time if you need to do something similar. (Please forgive the roughness of the code, its just a test for learning porpouses)
Im Juan Carlos Ospina Gonzalez and this is my blog. I'm a Colombian graphic and web designer. I make websites and i can program web-games. Nothing interests me more than the Internet.
Soy Juan Carlos Ospina y este es mi blog. Soy un diseñador gráfico y web de Colombia. Hago paginas web y puedo programar juegos. Nada me interesa mas que el Internet.