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

Author Topic: Integrating boost with sfml for collision detection?  (Read 1971 times)

0 Members and 1 Guest are viewing this topic.

dan185

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Integrating boost with sfml for collision detection?
« on: October 23, 2013, 10:03:52 pm »
Does anyone have an example of some C++ source code where someone used boost to collision detection in sfml, I heard it works pretty good.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11028
    • View Profile
    • development blog
    • Email
Re: Integrating boost with sfml for collision detection?
« Reply #1 on: October 23, 2013, 10:43:15 pm »
boost is really large library (with smaller "modules"), so when talking about boost and collision detection you really need to be more specific. What kind of collision detection are you interested in. What part of the boost library would you want to use, etc. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Ixrec

  • Hero Member
  • *****
  • Posts: 1241
    • View Profile
    • Email
Re: Integrating boost with sfml for collision detection?
« Reply #2 on: October 23, 2013, 11:13:09 pm »
There's also some good collision code on the SFML wiki.  That'd probably be a lot easier than forcing a library as huge as boost into your project.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Integrating boost with sfml for collision detection?
« Reply #3 on: October 24, 2013, 01:35:20 pm »
As mentioned, Boost is a collection of libraries, what library are you referring to? I could possibly think of Boost.Geometry, as it provides a lot of functionality for shapes, polygons, intersections and stuff like that.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything