I have some kinematic objects, which are moved around according to recorded data (position, orientation) each frame. The velocities can be high, so tunneling could occur, if it was a simulation (it's playback only). Now, I need to analyze such a recording, to see if any collisions happened. Note that in the recording, no collisions occured (so two objects just go straight through each other).
Is it possible to detect collisions between these objects in an efficient manner using Bullet? I am assuming a linear movement from the previous frame to the current one (like a convex sweep test).
Cheers,
Ola
Detect collision between swept kinematic objects?
-
- Posts: 169
- Joined: Sun Jan 14, 2007 7:56 pm
- Location: Norway
-
- Posts: 133
- Joined: Wed Jul 27, 2005 1:05 pm
- Location: Berkeley, CA
Re: Detect collision between swept kinematic objects?
Hi Ola,
You can use a linear convex cast and possibly a ghost object to cull out far away objects. Please see the kinematic character controller for example code.
John
You can use a linear convex cast and possibly a ghost object to cull out far away objects. Please see the kinematic character controller for example code.
John