Hi everyone. I finally got around to working on my little tadpoles experiment.
After a few minutes of thinking about it, I added two lines of code that conditionally biases the tadpole’s bearing by the amount “turnbias.” If you look in the fla, you’ll find it in the tadpole mc’s onEnterFrame section. The sign of “turnbias” detirmines the direction (+ cw, - ccw). You could detirmine the sign by a tadpole’s angle of inclination … but I’m not sure how you’d do that without a lengthy case-by-case test.
Their movement is beginning to look a bit more natural now
Let me know what you guys think, and if you learned anything from it!