Chipmunk on native platform(Android)

  • olegkarman
    Likes 0

    Problem Description

    Hello! Have a trouble here.

    I’m trying to get “a” from “arbiter” using 

    arbiter.a or arbiter.getA()

    On Web it works great but on Android I receivre only errors. I’m using new Cocos2d-js 3.11


  • Sonar Systems admin
    Likes 0

    Are you using the built in physics engine?

  • olegkarman
    Likes 0

    What do you mean?

  • Sonar Systems admin
    Likes 0

    Are you using the built in physics engine inside Cocos?

  • olegkarman
    Likes 0

    Yes. But I found the solution. I had to use

    arbiter.getShapes()

    It returns me an array with “A” and “B” object.

  • Sonar Systems admin
    Likes 0

    Fantastic.


    This reply has been verified.

Login to reply