I’m using 3 CALayers which are animating Up and Down in a line, how can i detect collision between these layers, i have used CGRectIntersectsRect to detect collision but i didn’t get anything. Please help me.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
CGRectIntersectRectis a function which returns the boolean value, if one object intersects with other object. You must passed the two parameters(rect of two objects whose intersection you want to check) for this function.Please send some lines of code for better understanding.
possible duplicate
possible duplicate