MOVE

0 favourites
  • 2 posts
From the Asset Store
This is a code so you can see the same skin on all screens (peers). Each peer gets a skin, in addition to 4 directions t
  • 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
  • Fast moving objects will sometimes pass through objects without detection. In my soccer game, I had the same issue so I enabled STEP in the Bullet properties to help with detecting collision. That may not work for you as you might not be using the bullet behavior. Instead, draw an invisible line from point A (touch start) to point b (touch end or current touch XY). This line will not skip detection as it will be overlapping over your second object and should detect collision.

    It's hard to say if that's the right solution as I don't know the full extent of what you're trying to accomplish. Feel free to send a screenshot! :)

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