user31929
user31929

Reputation: 1145

Cocos2d alternative to SpriteKit

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

Answers (1)

jgnovak-dev
jgnovak-dev

Reputation: 505

SKPhysicsBody in Cocos2D V3.1 would be CCPhysicsBody http://www.cocos2d-iphone.org/docs/api/Classes/CCPhysicsBody.html

Upvotes: 1

Related Questions