Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QtQuick 2.0 Physics?

QtQuick 2.0 Physics?

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    epicfailguy93
    wrote on last edited by
    #1

    Does anyone know where I can find binding libraries 2D Physics for Qt 5?
    http://gitorious.org/qml-box2d
    http://gitorious.org/chipmunk-qml-plugin
    https://bitbucket.org/jtoivola/qml-physics
    All this is too outdated

    1 Reply Last reply
    0
    • F Offline
      F Offline
      feldifux
      wrote on last edited by
      #2

      Hi,

      I'm not aware of support for Qt5 of box2d yet. We also have our own Box2D wrapper for QML for the "V-Play Game Engine":http://v-play.net, you can have a look at the Box2D components here: http://doc.v-play.net/vplay-group.html#physics-components

      In comparison with the repo from gitorious, we added convenience wrappers for colliders with a single fixture, as these are used most of the time ("BoxCollider":http://doc.v-play.net/qml-components-vplay1-boxcollider.html, "CircleCollider":http://doc.v-play.net/qml-components-vplay1-circlecollider.html and "PolygonCollider":http://doc.v-play.net/qml-components-vplay1-polygoncollider.html). Additionally we added two more joints of the latest Box2D version 2.2.1: "RopeJoint":http://doc.v-play.net/qml-components-ropejoint.html and "WeldJoint":http://doc.v-play.net/qml-components-weldjoint.html.

      If you are willing to use Qt4, V-Play might be an option for your game. We are following Qt5 with great interest, and will update to it after iOS is properly supported and allows smooth 60fps like we have it now with our custom renderer. At that time, we will port the Box2D plugin to Qt5.

      From what I've seen on your other post about Timer performance (http://qt-project.org/forums/viewthread/23566/), you are trying to update physics from QML? I would recommend to not doing high-performance things in QML, which is the reason we implemented all our performance-relevant components (Rendering, Sprites, Particles, Physics, Movement, ) in C++.

      Cheers,
      Chris

      Founder of Felgo SDK - http://felgo.com/qt

      Felgo simplifies

      • Mobile App Dev with Qt esp. iOS & Android
      • Game Development with Qt

      What others say

      Felgo scored #1 in Cross-Platform App Development Tools Report - see why: https://goo.gl/rgp3rq

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved