I'm trying to animate an object along a path...while it's moving it should continue to "point" towards another object (or CGPoint). What should I be looking for in the framework (Cocoa-Touch) to accomplish this? Maybe something in CAShapeLayer
? Though I think that's more for animating the path itself... It's not jumping out at me...
views:
59answers:
1
A:
I believe you're looking for the "bearing" between two points. Here's a good starting point to get you going.
Joshua Nozzi
2010-04-16 13:33:05
Meltemi
2010-04-22 21:22:16