Jump to content

Sticky Collision 1.1.5


Telash
 Share

Recommended Posts

Hey guys,

I updated to 1.1.5 because i was having some issues with the 1.1.4 collision (sprite vs sprite) overlapping with each other, after updating this is no longer a problem... HOWEVER it seems that now if I have 2 sprites falling at the same rate which were collided before the drop... them seem to cling to each other, causing the drop (gravity) to stick and move at an incredibly reduced rate. Is there any means to fix this?

 

Or is there perhaps a way to remove the collision between two objects are they have already collided?

 

Example: Player standing on a falling platform.

 

Thanks in advance

Regards,
Telash

Link to comment
Share on other sites

I figured it out, You can prevent the additional collision but turning off the check collision parameter, in my case it was:

 

BasicGame.diceSet.setAll('body.checkCollision.up', false); 

This prevents the two sprites colliding in the air and gravity will still work, causing the two objects to drop at the same rate.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...