Abstract
The paper presents an event driven approach that efficiently detects collisions among multiple moving spheres of uniform radius. We divide the space containing the spheres into uniform subspaces of cell structure. Each sphere intersecting a subspace is tested against the others intersecting the same subspace for possible collisions. We identify three types of events to detect the sequence of all collisions during our simulation: collision, entering, and leaving. The first type of events is due to actual collisions, and the other two types occur when spheres move from subspace to subspace. By tracing all such events in the order of their occurring times, we are able to simulate n moving spheres with proper collision response in O(n/sub c/ log n+n/sub e/ log n) time with O(n) space after O(n log n) time preprocessing, where n/sub c/ and n/sub e/ are the number of actual collisions and that of entering and leaving events during the simulation, respectively. Since n/sub e/ depends on the size of subspaces, we adopt the collision model from kinetic theory for molecular gas (Feynmann et al., 1963) to determine the subspace size that minimizes simulation time. Experimental results show that collision detection can be done in linear time in n over a large range.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.