Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
General discussions
»
Shape Collision
Print
Pages: [
1
]
Author
Topic: Shape Collision (Read 4169 times)
0 Members and 1 Guest are viewing this topic.
Jarwulf
Newbie
Posts: 37
Shape Collision
«
on:
November 26, 2009, 07:42:23 am »
Hi, the wiki lists sprite collision detection here
http://www.sfml-dev.org/wiki/en/sources/simple_collision_detection
but I'm also interested in collisions between Shapes and Strings as well as collisions between different catagories of objects. How could it be modified to make this possible?
Thanks
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Shape Collision
«
Reply #1 on:
November 26, 2009, 08:27:12 am »
To detect collisions between arbitrary convex polygons, you have to look at the "separating axis theorem".
Logged
Laurent Gomila - SFML developer
Nexus
SFML Team
Hero Member
Posts: 6287
Thor Developer
Shape Collision
«
Reply #2 on:
November 26, 2009, 08:12:10 pm »
A nice link:
http://www.metanetsoftware.com/
Logged
Zloxx II
: action platformer
Thor Library
: particle systems, animations, dot products, ...
SFML Game Development
:
Print
Pages: [
1
]
SFML community forums
»
General
»
General discussions
»
Shape Collision
anything