Torque 3D 3.8
ContentsIndexHome
PreviousUpNext
MathUtils::capsuleSphereNearestOverlap Function
Syntax
C++
bool capsuleSphereNearestOverlap(const Point3F & A0, const Point3F A1, F32 radA, const Point3F & B, F32 radB, F32 & t);

Return capsule-sphere overlap. Returns time of first overlap, where time is viewed as a sphere of radius radA moving from point A0 to A1. 

 

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!