C# Класс BEPUphysics.CollisionTests.CollisionAlgorithms.BoxSphereTester

Static class with methods to help with testing box shapes against sphere shapes.
Показать файл Открыть проект

Открытые методы

Метод Описание
AreShapesColliding ( BoxShape box, SphereShape sphere, RigidTransform &boxTransform, Vector3 &spherePosition, ContactData &contact ) : bool

Tests if a box and sphere are colliding.

Описание методов

AreShapesColliding() публичный статический Метод

Tests if a box and sphere are colliding.
public static AreShapesColliding ( BoxShape box, SphereShape sphere, RigidTransform &boxTransform, Vector3 &spherePosition, ContactData &contact ) : bool
box BEPUphysics.CollisionShapes.ConvexShapes.BoxShape Box to test.
sphere BEPUphysics.CollisionShapes.ConvexShapes.SphereShape Sphere to test.
boxTransform BEPUutilities.RigidTransform Transform to apply to the box.
spherePosition Vector3 Transform to apply to the sphere.
contact ContactData Contact point between the shapes, if any.
Результат bool