Sunday, September 25, 2022
HomeGame DevelopmentPhysics3D Check in cpp-tests fails if boss.c3b is changed by boss.obj -...

Physics3D Check in cpp-tests fails if boss.c3b is changed by boss.obj – C++


cocos2d-x model: v4
gadgets check on: iPhone SE3 simulator iOS 15.4
creating environments
    NDK model: NIL
    Xcode model: 13.3.1
    VS model:
    browser sort and model:

Steps to Reproduce:

  1. 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”);

  1. Compile cpp-tests on iPhone simulator then run

  2. Goto Physics3D Check (sub-test 4) then throw an merchandise by clicking the display

  3. You will notice the mannequin picture (in pink colour) distorted

  4. Please examine situation 20749 for 2 pictures (earlier than picture distorted and after picture distorted) are uploaded at Physics3D Check in cpp-tests fails if boss.c3b is changed by boss.obj · Challenge #20749 · cocos2d/cocos2d-x · GitHub

Please assist to see how this downside can be resolved. Thanks upfront!


Mounted on the axys fork
Physics3D Check in cpp-tests fails if boss.c3b is changed by boss.obj · Challenge #861 · axys1/axys (github.com)

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments