Forums

OverviewV-Play 2 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://v-play.net/doc/box2d-upgrade-2-5/).

    #11716

    Christian
    V-Play Team

    Hi Tobias,

    thanks for reporting this issue!

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

    Cheers, Chris

    #11761

    Günther
    V-Play 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 2 years, 8 months ago by  GT.
    • This reply was modified 2 years, 8 months ago by  GT.
    #11764

    Christian
    V-Play Team

    This issue has now been resolved and will be fixed with the next V-Play 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support