Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › PhysicsWorld in 2.6.1

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11712

    Tobias

    After upgrading from version 2.5 to 2.6.1 nothing moved any more in my game. The movement is done by the Box2D capabilities.

    After a while I found out that the PhysicsWorld entity has to stand right at the beginning of the scene before any object whish is correlated to this.

    In version 2.5 this wasn’t an issue and this new issue isn’t discriped in the VPlay 2.5 – Box2D Upgrade Guide (http://felgo.com/doc/box2d-upgrade-2-5/).

    #11716

    Christian
    Felgo Team

    Hi Tobias,

    thanks for reporting this issue!

    We’ll have a look at it to solve it.

    Cheers, Chris

    #11761

    Günther
    Felgo Team

    We already had a closer look. It seems that entities are not added to the world correctly, if they are created before the PhysicsWorld component is defined. So they are not “part” of the world and do not follow gravity or any calculations based on the colliders.

    We are working on solving this issue. For now, please make sure that all your entities are placed after the PhysicsWorld in terms of the QML tree.
    This leads to the world being created before the entities. Everything should work correctly then.

    Best,
    Günther

    • This reply was modified 8 years, 5 months ago by  GT.
    • This reply was modified 8 years, 5 months ago by  GT.
    #11764

    Christian
    Felgo Team

    This issue has now been resolved and will be fixed with the next Felgo update.

    For now please just be sure to create the PhysicsWorld before any other Body objects, as Günther said.

    Cheers,
    Chrisu

Viewing 4 posts - 1 through 4 (of 4 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded