Forums

OverviewFelgo 2 Support (Qt 5) › Colliders and anchors

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

    Marcin

    Hi Felgo,

    In one of the posts Alex mentioned that anchoring is not the best options if you use colliders.
    What about anchors.fill: parent, is this a good way still to handle things?
    Are the special cases explained somewhere in the docs?

    #18119

    Alex
    Felgo Team

    We did not compile a list of special cases. But we should definitely highlight this in the documentation, for the sake of completeness.

    Rule of thumb: If the collider position looks odd in any case, removing the anchoring and using x,y,width,height instead is a good guess! This may apply in cases where entities are rotated. Depending on the transform origin of the entity, the physics system might have issues with handling the rotation and keeping the anchoring of collider and entity.

    Cheers,
    Alex

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