开发者

Keep object oriented towards a point while it's animated along a path

开发者 https://www.devze.com 2022-12-26 20:20 出处:网络
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 (Co

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...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号