Box2d integartion in xcode

  • amisha
    Likes 0

    Problem Description

    Hello SS
    I am new in box2d.I use the cocos2dx 3.7.1 for game development. Now i want to make a  racing type of game so i need to integrate a box2d with my project.

    But i don’t know how to configure box2d to my project .when i write some line of code like ApplyLinearImpulse and some of the syntex i can not found.

    for that ,should i need any process or not?

    If any procees or implementation then how to do.

  • Sonar Systems admin
    Likes 0

    Have you thought about using the built in Cocos2d-x Physics engine.

  • amisha
    Likes 0

    yes      

  • Sonar Systems admin
    Likes 0

    Do you want to use it?

  • amisha
    Likes 0

    yes.

    I want to use for apply the gravity, impulse etc to the player sprite .

    I  know that things but i don’t know  how box2d use exactly in game

  • amisha
    Likes 0

    ok thank you

  • Sonar Systems admin
    Likes 0

    Your very welcome :D

Login to reply