Object moved to mouse position , go a little trough other ob

From the Asset Store
This is a single chapter from the "Construct Starter Kit Collection". It is the Student Workbook for its Workshop.

    Hi evrey one i really need this solution guys !!

    So

    All i have on the scene is :

    a mouse ,

    an object which i set his position to the mouse position , (it have physic behaviour)

    a second object with physic behaviour ( falling )

    the problem is when i move the first object quickly with the mouse it look like is going trough the falling object a little and he take the exacte postion and really it looks weird and doesnt look good !!

    And i have to :

    notice that when i use the drag and drop behaviour to move the object the collision works perfect ! the object dont go trough the other like when i move it with setting his position evrey tick to mouse position ,

    in my opinion it look like the sprite come before the collision shape or something like this !

    maybe moving it with physics not by setting position will solve this if its right how to move it to the mouse position using physics .

    thanks in advance

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads

    Locked as duplicate of https://www.scirra.com/forum/how-do-i-move-to-position-using-physics_t203577.

    Please stop posting the same question in different sections of the forum. It is spamming and is frowned upon.

    If you do this again, you will likely get a temporary ban.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)