Open ZengyiMa opened 9 years ago
when i use setPhysicsBody, the console print: jsb: ERROR: File /Users/hujiang/tools/publish/createPrebuiltRuntime/PrebuiltRuntimeJs/frameworks/runtime-src/proj.android/../../js-bindings/bindings/auto/jsb_cocos2dx_auto.cpp: Line: 2143, Function: js_cocos2dx_Node_setPhysicsBody Invalid Native Object JS: /data/data/org.cocos2dx.PrebuiltRuntimeJs/files/debugruntime/src/Level/Level1.js:79:Error: Invalid Native Object
The physics engine of cocos2d-x is not bound now, so this function cannot be used.
when i use setPhysicsBody, the console print: jsb: ERROR: File /Users/hujiang/tools/publish/createPrebuiltRuntime/PrebuiltRuntimeJs/frameworks/runtime-src/proj.android/../../js-bindings/bindings/auto/jsb_cocos2dx_auto.cpp: Line: 2143, Function: js_cocos2dx_Node_setPhysicsBody Invalid Native Object JS: /data/data/org.cocos2dx.PrebuiltRuntimeJs/files/debugruntime/src/Level/Level1.js:79:Error: Invalid Native Object