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

Author Topic: Collision Response doesn't work properly  (Read 7433 times)

0 Members and 1 Guest are viewing this topic.

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Collision Response doesn't work properly
« Reply #15 on: March 31, 2014, 06:31:12 pm »
Would you mind explaining how you generate the movement? I need something like that for a game and the best I can do is make all circles bounce like they would off a wall (reverse x or y part of velocity)

If you want realistic collision response you could start by reading this:
http://www.gamasutra.com/view/feature/131424/pool_hall_lessons_fast_accurate_.php?print=1

Cadisol87

  • Full Member
  • ***
  • Posts: 129
  • C++ Programmer
    • View Profile
Re: Collision Response doesn't work properly
« Reply #16 on: March 31, 2014, 07:23:43 pm »
Apart from the fact that this question doesn't have much to do with my problem:
Yes, my code is based on the one from the tutorial mentioned by Jesper Juhl ;)

Raincode

  • Full Member
  • ***
  • Posts: 118
    • View Profile
Re: Collision Response doesn't work properly
« Reply #17 on: March 31, 2014, 10:19:46 pm »
That's complicated, and awesome. Thanks so much! Would have never known what to search for thanks!