BEPUphysics.CollisionShapes.ConvexShapes.CapsuleShape.ComputeMaximumRadius C# (CSharp) Méthode

ComputeMaximumRadius() public méthode

Computes the maximum radius of the shape. This is often larger than the actual maximum radius; it is simply an approximation that avoids underestimating.
public ComputeMaximumRadius ( ) : float
Résultat float
        public override float ComputeMaximumRadius()
        {
            return halfLength + Radius;
        }