PhysicsEditor 物理编辑器 版本 1.0.9
亲测 GB2ShapeCache-x.cpp 在 cocos2d-3.2上可用.
能详细写个说明吗?
根本不能用啊,报好多错
错误 46 error LNK2019: 无法解析的外部符号 “public: void __thiscall b2PolygonShape::Set(struct b2Vec2 const *,int)” (?Set@b2PolygonShape@@QAEXPBUb2Vec2@@H@Z),该符号在函数 “public: void __thiscall cocos2d::GB2ShapeCache::addShapesWithFile(class std::basic_string<char,struct std::char_traits,class std::allocator > const &)” (?addShapesWithFile@GB2ShapeCache@cocos2d@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中被引用 D:\summerShell\CocoStudio\SummerShells\proj.win32\GB2ShapeCache-x.obj summerShell
错误 51 error LNK2019: 无法解析的外部符号 “public: class b2Fixture * __thiscall b2Body::CreateFixture(struct b2FixtureDef const *)” (?CreateFixture@b2Body@@QAEPAVb2Fixture@@PBUb2FixtureDef@@@Z),该符号在函数 “public: void __thiscall cocos2d::GB2ShapeCache::addFixturesToBody(class b2Body *,class std::basic_string<char,struct std::char_traits,class std::allocator > const &)” (?addFixturesToBody@GB2ShapeCache@cocos2d@@QAEXPAVb2Body@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中被引用 D:\summerShell\CocoStudio\SummerShells\proj.win32\GB2ShapeCache-x.obj summerShell
错误 50 error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall b2PolygonShape::ComputeMass(struct b2MassData *,float)const " (?ComputeMass@b2PolygonShape@@UBEXPAUb2MassData@@M@Z) D:\summerShell\CocoStudio\SummerShells\proj.win32\GB2ShapeCache-x.obj summerShell
错误 49 error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall b2PolygonShape::ComputeAABB(struct b2AABB *,struct b2Transform const &,int)const " (?ComputeAABB@b2PolygonShape@@UBEXPAUb2AABB@@ABUb2Transform@@H@Z) D:\summerShell\CocoStudio\SummerShells\proj.win32\GB2ShapeCache-x.obj summerShell
错误 43 error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall b2CircleShape::ComputeMass(struct b2MassData *,float)const " (?ComputeMass@b2CircleShape@@UBEXPAUb2MassData@@M@Z) D:\summerShell\CocoStudio\SummerShells\proj.win32\GB2ShapeCache-x.obj summerShell
错误 42 error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall b2CircleShape::ComputeAABB(struct b2AABB *,struct b2Transform const &,int)const " (?ComputeAABB@b2CircleShape@@UBEXPAUb2AABB@@ABUb2Transform@@H@Z) D:\summerShell\CocoStudio\SummerShells\proj.win32\GB2ShapeCache-x.obj summerShell
错误 45 error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall b2PolygonShape::GetChildCount(void)const " (?GetChildCount@b2PolygonShape@@UBEHXZ) D:\summerShell\CocoStudio\SummerShells\proj.win32\GB2ShapeCache-x.obj summerShell
错误 39 error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall b2CircleShape::GetChildCount(void)const " (?GetChildCount@b2CircleShape@@UBEHXZ) D:\summerShell\CocoStudio\SummerShells\proj.win32\GB2ShapeCache-x.obj summerShell
错误 44 error LNK2001: 无法解析的外部符号 "public: virtual class b2Shape * __thiscall b2PolygonShape::Clone(class b2BlockAllocator *)const " (?Clone@b2PolygonShape@@UBEPAVb2Shape@@PAVb2BlockAllocator@@@Z) D:\summerShell\CocoStudio\SummerShells\proj.win32\GB2ShapeCache-x.obj summerShell
错误 38 error LNK2001: 无法解析的外部符号 "public: virtual class b2Shape * __thiscall b2CircleShape::Clone(class b2BlockAllocator *)const " (?Clone@b2CircleShape@@UBEPAVb2Shape@@PAVb2BlockAllocator@@@Z) D:\summerShell\CocoStudio\SummerShells\proj.win32\GB2ShapeCache-x.obj summerShell
错误 47 error LNK2001: 无法解析的外部符号 "public: virtual bool __thiscall b2PolygonShape::TestPoint(struct b2Transform const &,struct b2Vec2 const &)const " (?TestPoint@b2PolygonShape@@UBE_NABUb2Transform@@ABUb2Vec2@@@Z) D:\summerShell\CocoStudio\SummerShells\proj.win32\GB2ShapeCache-x.obj summerShell
错误 48 error LNK2001: 无法解析的外部符号 "public: virtual bool __thiscall b2PolygonShape::RayCast(struct b2RayCastOutput *,struct b2RayCastInput const &,struct b2Transform const &,int)const " (?RayCast@b2PolygonShape@@UBE_NPAUb2RayCastOutput@@ABUb2RayCastInput@@ABUb2Transform@@H@Z) D:\summerShell\CocoStudio\SummerShells\proj.win32\GB2ShapeCache-x.obj summerShell
错误 40 error LNK2001: 无法解析的外部符号 "public: virtual bool __thiscall b2CircleShape::TestPoint(struct b2Transform const &,struct b2Vec2 const &)const " (?TestPoint@b2CircleShape@@UBE_NABUb2Transform@@ABUb2Vec2@@@Z) D:\summerShell\CocoStudio\SummerShells\proj.win32\GB2ShapeCache-x.obj summerShell
错误 41 error LNK2001: 无法解析的外部符号 "public: virtual bool __thiscall b2CircleShape::RayCast(struct b2RayCastOutput *,struct b2RayCastInput const &,struct b2Transform const &,int)const " (?RayCast@b2CircleShape@@UBE_NPAUb2RayCastOutput@@ABUb2RayCastInput@@ABUb2Transform@@H@Z) D:\summerShell\CocoStudio\SummerShells\proj.win32\GB2ShapeCache-x.obj summerShell
。。。。。。。。。。。15个错
难道大家的碰撞都只是基于方格格?
顶下,还有一个也是读 pyeditor的形状的也是报,编
译不过去,
版主回答下啊
同问,这个问题怎么解决啊
抱歉,这个很久没上来了。。。。当时没有经过认真测试。。。
抱歉,这个很久没上来了。。。。当时没有经过认真测试,我再看看。
想问下使用PhysicsEditor导出的plist文件能否在代码中获取摩擦力等属性进行修改???
可用,谢谢!