SFML community forums

Help => Graphics => Topic started by: GSerum on May 17, 2018, 10:30:42 pm

Title: overlapping of manipulated shapes
Post by: GSerum on May 17, 2018, 10:30:42 pm
hey hey,

I'm currently trying to find a way to detect collisions between a stretched circleshape and a normal circleshape.

The stretched circleShape is scaled by (2.2, 1.1) aka 2:1 and i like know how to detect collision between the two in all 360 degrees of approach.

Any functions to simply check if pixels of 2 SFML Shapes are overlapping?

Kind regards
Title: Re: overlapping of manipulated shapes
Post by: Hapax on May 24, 2018, 05:39:48 pm
Maybe this article will be of some interesting reading for you to find a solution to your problem:
http://yehar.com/blog/?p=2926