Forums

OverviewFelgo 2 Support (Qt 5) › CircleColliders does not follow scaling

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21610

    Ginzo Milani

    I have not tested BoxColliders but when you set the scale for your entity base, it will not scale the box collider correctly, to fix it you have to center the CircleCollider and then factor the scale into the radius

    #21618

    Günther
    Felgo Team

    Hi Ginzo,

    this is expected behavior. The Collider actually lives in the PhysicsWorld of Box2D, but is managed and created within your Entity. It is not an actual QML item, which automatically rescales with its parent. It also does not take relative positions over several QML ancestors into account for its position.

    Best,
    Günther

Viewing 2 posts - 1 through 2 (of 2 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