Jump to content

"Overlap" Collision without transparent areas


Zackorz
 Share

Recommended Posts

I have images with transparent parts. Is it possible to use the "overlap" function and just trigger it when the visible parts touch each other? So it wont trigger when transparent parts lay over each other.

 

The "P2" collsion detection doesnt work for my game, because im using "tweens" and the physics destroy my movement.

Link to comment
Share on other sites

 

I attached now a smaller sprite as a child to the graphic, but it is not a perfect solution, because my graphic is rotating and the animations also.

I always have to shift my sprite, or create an sprite with animations, so it fits with the animations on my object.

 

 

Is there a better solution? A way to ignore transpareny in the "overlap" would be great.

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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