Property | Type | Description | |
---|---|---|---|
HighGJKIterations | int | ||
MaximumGJKIterations | int |
Method | Description | |
---|---|---|
AreShapesIntersecting ( |
Tests if the pair is intersecting.
|
|
AreShapesIntersecting ( |
Tests if the pair is intersecting.
|
|
CCDSphereCast ( BEPUutilities.Ray ray, float radius, |
Casts a fat (sphere expanded) ray against the shape. If the raycast appears to be stuck in the shape, the cast will be attempted with a smaller ray (scaled by the MotionSettings.CoreShapeScaling each time).
|
|
ConvexCast ( |
Sweeps a shape against another shape using a given sweep vector.
|
|
ConvexCast ( |
Sweeps two shapes against another.
|
|
GetClosestPoints ( |
Gets the closest points between the shapes.
|
|
GetClosestPoints ( |
Gets the closest points between the shapes.
|
|
RayCast ( BEPUutilities.Ray ray, |
Tests a ray against a convex shape.
|
|
SphereCast ( BEPUutilities.Ray ray, float radius, |
Casts a fat (sphere expanded) ray against the shape.
|
Method | Description | |
---|---|---|
GetClosestPoints ( |
public static AreShapesIntersecting ( |
||
shapeA | First shape of the pair. | |
shapeB | Second shape of the pair. | |
transformA | Transform to apply to the first shape. | |
transformB | Transform to apply to the second shape. | |
return | bool |
public static AreShapesIntersecting ( |
||
shapeA | First shape of the pair. | |
shapeB | Second shape of the pair. | |
transformA | Transform to apply to the first shape. | |
transformB | Transform to apply to the second shape. | |
localSeparatingAxis | Vector3 | Warmstartable separating axis used by the method to quickly early-out if possible. Updated to the latest separating axis after each run. |
return | bool |
public static CCDSphereCast ( BEPUutilities.Ray ray, float radius, |
||
ray | BEPUutilities.Ray | Ray to test against the shape. |
radius | float | Radius of the ray. |
target | Shape to test against. | |
shapeTransform | Transform to apply to the shape for the test. | |
maximumLength | float | Maximum length of the ray in units of the ray direction's length. |
hit | Hit data of the sphere cast, if any. | |
return | bool |
public static ConvexCast ( |
||
sweptShape | Shape to sweep. | |
target | Shape being swept against. | |
sweep | Vector3 | Sweep vector for the sweptShape. |
startingSweptTransform | Starting transform of the sweptShape. | |
targetTransform | Transform to apply to the target shape. | |
hit | Hit data of the sweep test, if any. | |
return | bool |
public static ConvexCast ( |
||
shapeA | First shape being swept. | |
shapeB | Second shape being swept. | |
sweepA | Vector3 | Sweep vector for the first shape. |
sweepB | Vector3 | Sweep vector for the second shape. |
transformA | Transform to apply to the first shape. | |
transformB | Transform to apply to the second shape. | |
hit | Hit data of the sweep test, if any. | |
return | bool |
public static GetClosestPoints ( |
||
shapeA | First shape of the pair. | |
shapeB | Second shape of the pair. | |
transformA | Transform to apply to the first shape. | |
transformB | Transform to apply to the second shape. | |
cachedSimplex | Simplex from a previous updated used to warmstart the current attempt. Updated after each run. | |
closestPointA | Vector3 | Closest point on the first shape to the second shape. |
closestPointB | Vector3 | Closest point on the second shape to the first shape. |
return | bool |
public static GetClosestPoints ( |
||
shapeA | First shape of the pair. | |
shapeB | Second shape of the pair. | |
transformA | Transform to apply to the first shape. | |
transformB | Transform to apply to the second shape. | |
closestPointA | Vector3 | Closest point on the first shape to the second shape. |
closestPointB | Vector3 | Closest point on the second shape to the first shape. |
return | bool |
public static RayCast ( BEPUutilities.Ray ray, |
||
ray | BEPUutilities.Ray | Ray to test against the shape. |
shape | Shape to test. | |
shapeTransform | Transform to apply to the shape for the test. | |
maximumLength | float | Maximum length of the ray in units of the ray direction's length. |
hit | Hit data of the ray cast, if any. | |
return | bool |
public static SphereCast ( BEPUutilities.Ray ray, float radius, |
||
ray | BEPUutilities.Ray | Ray to test against the shape. |
radius | float | Radius of the ray. |
shape | Shape to test against. | |
shapeTransform | Transform to apply to the shape for the test. | |
maximumLength | float | Maximum length of the ray in units of the ray direction's length. |
hit | Hit data of the sphere cast, if any. | |
return | bool |