can some one help understand how create PhysicsBody from Polygon Sprite?
auto pinfo = AutoPolygon::generatePolygon( "Some link to sprite" ); spr = Sprite::create( pinfo ); auto body = PhysicsBody::createPolygon(<#const cocos2d::Vec2 *points#>, <#int count#>);
But i cant understand where i can get Vec2 points and int count?
The new Sprite have some info (verticals count, and triangle count) but not any properties with Vec2.
Thank you for help!