Ask qml-box2d how to add body to world via function



  • hi everyone
    i currently creating a game using qml and qml-box2d

    i have problem about how to add a body to world via function
    in my case i want to add body(box) when i click the screen,
    with the x and y of the box is set to the place where we click the screen

    can anyone help me solve this problem please?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.