Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7891755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:41:54+00:00 2026-06-03T06:41:54+00:00

I am researching various collision detection algorithms, one of them being sweep and prune.

  • 0

I am researching various collision detection algorithms, one of them being sweep and prune. I think I have a good understanding of how it works; you store a sorted list of endpoints for each axis and during each update I have to keep the list sorted. Below is the link to one of the web pages I’ve found that helped me understand this algorithm:

http://jitter-physics.com/wordpress/?tag=sweep-and-prune

However, I’m not too clear about how temporal coherence is being implemented in the code. I understand that it takes advantage of the fact that objects move very little in consecutive time frames, but I don’t quite see how it can be implemented.

Can someone shed some light onto this situation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T06:41:55+00:00Added an answer on June 3, 2026 at 6:41 am

    I think I may have found the answer to my own question. Temporal coherence merely reduces the amount of work to be done for narrow phase collision detection. I was examining the code in the below link.

    http://www.koders.com/java/fidB3D3D9D154CE69A671A799D52E7C44C104DF9537.aspx?s=w.a

    I think this is where temporal coherence comes into play: when an object pair is considered for collision and it goes into narrow phase collision, the array of endpoints will be sorted. Until the endpoints need to be sorted again, there is no need to look for object pairs to be considered for narrow phase collision because the if statement at line 76 will never be true. If that’s the case, then the code follows the principle of temporal coherence: in small time steps, the object configurations will change so little that it will not warrant an array sort; nothing will be rearranged in the array. Therefore the amount of narrow phase collision will be reduced.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been researching various third party libraries and approaches to low latency serial
I need to cluster some text documents and have been researching various options. It
I have been researching this problem and while there's lots of posts on various
After researching various hosts, I still get the feeling that it is somewhat impossible
In researching how to convert a NameValueCollection to a querystring, I have come across
I have been researching for over an hour and finding great samples of how
I have been researching all over the internet about this, and unfortunately cannot find
I'm researching various tools available for developing and deploying an app to mobile devices.
At my company we are currently researching various strategies for speeding up our CI
I'm researching the various ways of recording videos of desktop applications, specifically video games.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.