public class SphereTriangleDetector extends btDiscreteCollisionDetectorInterface
btDiscreteCollisionDetectorInterface.ClosestPointInput, btDiscreteCollisionDetectorInterface.ResultclassName| Constructor and Description |
|---|
SphereTriangleDetector(btSphereShape sphere,
btTriangleShape triangle,
float contactBreakingThreshold) |
SphereTriangleDetector(long cPtr,
boolean cMemoryOwn)
Construct a new SphereTriangleDetector, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
collide(Vector3 sphereCenter,
Vector3 point,
Vector3 resultNormal,
SWIGTYPE_p_float depth,
SWIGTYPE_p_float timeOfImpact,
float contactBreakingThreshold) |
void |
getClosestPoints(btDiscreteCollisionDetectorInterface.ClosestPointInput input,
btDiscreteCollisionDetectorInterface.Result output,
btIDebugDraw debugDraw) |
void |
getClosestPoints(btDiscreteCollisionDetectorInterface.ClosestPointInput input,
btDiscreteCollisionDetectorInterface.Result output,
btIDebugDraw debugDraw,
boolean swapResults) |
static long |
getCPtr(SphereTriangleDetector obj) |
getCPtrdispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic SphereTriangleDetector(long cPtr,
boolean cMemoryOwn)
public SphereTriangleDetector(btSphereShape sphere, btTriangleShape triangle, float contactBreakingThreshold)
public static long getCPtr(SphereTriangleDetector obj)
public void getClosestPoints(btDiscreteCollisionDetectorInterface.ClosestPointInput input, btDiscreteCollisionDetectorInterface.Result output, btIDebugDraw debugDraw, boolean swapResults)
getClosestPoints in class btDiscreteCollisionDetectorInterfacepublic void getClosestPoints(btDiscreteCollisionDetectorInterface.ClosestPointInput input, btDiscreteCollisionDetectorInterface.Result output, btIDebugDraw debugDraw)
getClosestPoints in class btDiscreteCollisionDetectorInterfacepublic boolean collide(Vector3 sphereCenter, Vector3 point, Vector3 resultNormal, SWIGTYPE_p_float depth, SWIGTYPE_p_float timeOfImpact, float contactBreakingThreshold)
Copyright © 2021. All rights reserved.