Added: 6 months ago
From: conman42000
Views: 357
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (3)

Sign In or Sign Up now to post a comment!
  • I've also implemented the Separating Axis Theorem (in java), but I don't even know where to begin for rotational collision response. If you (or someone else reading this) could point me to a book, online resource etc. that deals with rotational physics, or supply your source code, it would be much appreciated.

  • @mbh95 My implementation was a little dodgy in how it got the details of the collision as it could only resolve one vertex for each collision. I basically did a loop through each vertex and the global position of the axis that gave the minimum translation vector and the vertex with the smallest distance to that axis would be the collision point, MOST of the time. It's not perfect but it works pretty well. If you have any luck with a better way of doing it I would be interested to hear from you!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more