You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The comment for the time_of_impact query suggests the existence of a threshold distance but this has been removed since release 0.3. The old API was useful to me but I guess I can just shift pos2 by the threshold distance? Is there any chance of getting the old API back?
/// Computes the smallest time when two shapes under translational movement are separated by a/// distance smaller or equal to `distance`.////// Returns `0.0` if the objects are touching or penetrating.pubfntime_of_impact(pos1:&Isometry<Real>,vel1:&Vector<Real>,g1:&dynShape,pos2:&Isometry<Real>,vel2:&Vector<Real>,g2:&dynShape,max_toi:Real,) -> Result<Option<TOI>,Unsupported>{let pos12 = pos1.inv_mul(pos2);let vel12 = pos1.inverse_transform_vector(&(vel2 - vel1));DefaultQueryDispatcher.time_of_impact(&pos12,&vel12, g1, g2, max_toi)}
The text was updated successfully, but these errors were encountered:
The comment for the
time_of_impact
query suggests the existence of a threshold distance but this has been removed since release 0.3. The old API was useful to me but I guess I can just shiftpos2
by the threshold distance? Is there any chance of getting the old API back?The text was updated successfully, but these errors were encountered: