Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 1 Support › EntityBaseDraggable moves when clicked

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5330

    Martin

    Another question regarding the level editor and EntityBaseDraggable: we would like to tap (=click) on entities to select them so their properties are shown in the ItemEditor. This unfortunately does not seem to work out of the box, see this question. The problem with tapping an EntityBaseDraggable is that it immediately translates its position so that its center lies at the tap point. Is there a way to prevent it from doing this? If not, could you introduce a property so this can be disabled or delayed?

    Cheers, Martin

    #5345

    Alex
    Felgo Team

    Hi Martin,

    we added a EntityBaseDraggable::delayDragOffset property with a boolean value (false by default). If this is set to true, the dragOffset will only be applied after an actual drag has started, meaning the mouse is pressed and moved several pixel in any direction. This will be available with our next daily build.

    Cheers,
    Alex

    #5347

    Martin

    Hey Alex, exactly what we need. Looking forward to testing it!

    Cheers, Martin

    #5371

    Martin

    Could you provide a rough estimate on when to expect the next daily?

    Cheers, Martin

    #5372

    Alex
    Felgo Team

    It is planned for next week.

    Cheers,
    Alex

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

RSS feed for this thread

You must be logged in to reply to this topic.