Questions tagged [cgpathref]
17 questions
0
votes
1 answer
Stroke a CGPathRef in Objective C
I've looked at similar questions here but I can't make the examples work for me. Since the way I'm creating this path is a bit different than previous examples, I'll state my problem:
I'm trying to visualize a path that sprites are made to follow in…

Victor S
- 5,098
- 5
- 44
- 62
-1
votes
1 answer
using self.physicsBody = [SKPhysicsBody bodyWithEdgeLoopFromPath:
I want to use
self.physicsBody = [SKPhysicsBody bodyWithEdgeLoopFromPath:(CGPathRef)];
in spriteKit but I am not sure how to go about it. I have googled how to create paths but couldn't find much Then when I have made a UIBezierPath I can't…

user1114881
- 731
- 1
- 12
- 25