Reputation: 1145
I can't find an alternative in Cocos2d documentation to
SKPhysicsBody bodyWithPolygonFromPath
and
SKShapeNode
There's a way to write something similar for cocos2d ? I can't find nothing in internet... I'm transforming a SpriteKit project in a Cocos project and this two objects are foundamental for my game...
EDIT
i'm using cocos2d V3.1
Upvotes: 0
Views: 292
Reputation: 505
SKPhysicsBody in Cocos2D V3.1 would be CCPhysicsBody http://www.cocos2d-iphone.org/docs/api/Classes/CCPhysicsBody.html
Upvotes: 1