public class btSphereBoxCollisionAlgorithm extends btActivatingCollisionAlgorithm
| Modifier and Type | Class and Description |
|---|---|
static class |
btSphereBoxCollisionAlgorithm.CreateFunc |
className| Constructor and Description |
|---|
btSphereBoxCollisionAlgorithm(btPersistentManifold mf,
btCollisionAlgorithmConstructionInfo ci,
btCollisionObjectWrapper body0Wrap,
btCollisionObjectWrapper body1Wrap,
boolean isSwapped) |
btSphereBoxCollisionAlgorithm(long cPtr,
boolean cMemoryOwn)
Construct a new btSphereBoxCollisionAlgorithm, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
getCPtr(btSphereBoxCollisionAlgorithm obj) |
boolean |
getSphereDistance(btCollisionObjectWrapper boxObjWrap,
Vector3 v3PointOnBox,
Vector3 normal,
SWIGTYPE_p_float penetrationDepth,
Vector3 v3SphereCenter,
float fRadius,
float maxContactDistance) |
float |
getSpherePenetration(Vector3 boxHalfExtent,
Vector3 sphereRelPos,
Vector3 closestPoint,
Vector3 normal) |
getCPtrcalculateTimeOfImpact, getAllContactManifolds, getCPtr, processCollisiondispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btSphereBoxCollisionAlgorithm(long cPtr,
boolean cMemoryOwn)
public btSphereBoxCollisionAlgorithm(btPersistentManifold mf, btCollisionAlgorithmConstructionInfo ci, btCollisionObjectWrapper body0Wrap, btCollisionObjectWrapper body1Wrap, boolean isSwapped)
public static long getCPtr(btSphereBoxCollisionAlgorithm obj)
public boolean getSphereDistance(btCollisionObjectWrapper boxObjWrap, Vector3 v3PointOnBox, Vector3 normal, SWIGTYPE_p_float penetrationDepth, Vector3 v3SphereCenter, float fRadius, float maxContactDistance)
Copyright © 2021. All rights reserved.