C# 클래스 BEPUphysics.CollisionTests.CollisionAlgorithms.BoxSphereTester

Static class with methods to help with testing box shapes against sphere shapes.
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

메소드 설명
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