I am working on a 2d platform game. It's written in objective-c and is being developed in Xcode with SpriteKit but I am not using the built in physics engine. I have slopes in the game and I need help from someone who knows how to do collision detection and resolution for slopes. I can provide you with the Xcode project. I've seen plenty of examples written in pseudo code or java. AABB collision and Separating Axis Theorem. But am unable to replicate them in objective-c.
So I am looking for a simple method for the collision detection. I need to test to see if a point is inside a polygon and if so move it out so it is no longer colliding. Separating Axis Theory will do this but I am not sure how to write this in objective-c.