Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: overlapping of manipulated shapes  (Read 1422 times)

0 Members and 1 Guest are viewing this topic.

GSerum

  • Newbie
  • *
  • Posts: 8
    • View Profile
overlapping of manipulated shapes
« 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

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: overlapping of manipulated shapes
« Reply #1 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
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*