Original Post
hi guys i am new to game dev and i have one doubt in collision detection in 2d actually my reqirement is i want to have 2 rectangles one will be rotating always and another one wont rotate .so in this case when i am moving to that rotating rectangle i need to know how to find collision and when i am jumping on that rectangle i will be able to walk on that as well as when i am standing on that rotating rectangle for some time i have to slide down i dont know hw to do will someone help on this topics.