cocos2d-x version: v4
devices test on: iPhone SE3 simulator iOS 15.4
developing environments
NDK version: NIL
Xcode version: 13.3.1
VS version:
browser type and version:
Steps to Reproduce:
- In bool Physics3DCollisionCallbackDemo::init(),
Change
std::vector trianglesList = Bundle3D::getTrianglesList(“Sprite3DTest/boss.c3b”);
to
std::vector trianglesList = Bundle3D::getTrianglesList(“Sprite3DTest/boss.obj”);
Change
auto sprite = Sprite3D::create(“Sprite3DTest/boss.c3b”);
to
auto sprite = Sprite3D::create(“Sprite3DTest/boss.obj”, “Sprite3D/boss.png”);
-
Compile cpp-tests on iPhone simulator then run
-
Goto Physics3D Test (sub-test 4) then throw an item by clicking the screen
-
You will see the model image (in red color) distorted
-
Please check issue 20749 for two images (before image distorted and after image distorted) are uploaded at Physics3D Test in cpp-tests fails if boss.c3b is replaced by boss.obj · Issue #20749 · cocos2d/cocos2d-x · GitHub
Please help to see how this problem would be resolved. Thanks in advance!