| Thread Closed |
Help finding time between two frames for collision detection |
Share Thread | Thread Tools |
| Feb13-10, 04:28 PM | #1 |
|
|
Help finding time between two frames for collision detection
Hey everyone!
I programmed a verlet physics engine that works great. I got to the collision detection and response and it's been frustrating to say the least. I've tried tons of different ways, but no cigar. The collisions themselves are between points and lines between points. These lines make up different shapes that move around in the physics engine. Since the game runs at 60Hz, the points can simply hop over a line (which can be moving too). I'd like to know if there's a way to see WHEN between those two frames they actually collide. (so if the first frame, F0.0 had no collision, and F1.0 had a collision, F0.66 would be where inbetween they collided) Here's a pic to show what I mean... http://nullium.fileave.com/pointlinecollide.png Thank you so much! |
| PhysOrg.com |
physics news on PhysOrg.com >> Promising doped zirconia >> New X-ray method shows how frog embryos could help thwart disease >> Bringing life into focus |
| Feb13-10, 04:42 PM | #2 |
|
|
|
| Feb13-10, 04:56 PM | #3 |
|
|
Thanks for the link. I haven't looked to deep into it, but could I make a 'stationary' plane by making movement relative? Like, from the 'line's' point of view?
|
| Feb13-10, 04:57 PM | #4 |
|
|
Help finding time between two frames for collision detection
Nevermind! I didn't see the other 7 pages on there! Haha.
|
| Feb13-10, 05:15 PM | #5 |
|
|
|
| Feb13-10, 05:23 PM | #6 |
|
|
Thanks, I'll try that later tonight. Thanks for the link again.
|
| Thread Closed |
| Tags |
| code, line, point, programming, segment |
| Thread Tools | |
Similar Threads for: Help finding time between two frames for collision detection
|
||||
| Thread | Forum | Replies | ||
| Internal Collision Detection | Programming & Comp Sci | 0 | ||
| Finding time and momentum after collision? | Introductory Physics Homework | 1 | ||
| Finding a collision time.... | Introductory Physics Homework | 1 | ||