Keep object oriented towards a point while it's animated along a path
I'm trying to animate an object along a path...while it's moving it should continue to 开发者_JAVA技巧"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...
精彩评论