public class Collision extends Object implements CollisionConstants
| Modifier and Type | Field and Description |
|---|---|
static Pool<Matrix3> |
poolMatrix3
Pool of Matrix3, used by native (callback) method for the arguments
|
static Pool<Matrix4> |
poolMatrix4
Pool of Matrix4, used by native (callback) method for the arguments
|
static Pool<Quaternion> |
poolQuaternion
Pool of Quaternion, used by native (callback) method for the arguments
|
static Pool<Vector3> |
poolVector3
Pool of Vector3, used by native (callback) method for the arguments
|
static Matrix3 |
staticMatrix3
Temporary Matrix3 instance, used by native methods that return a Matrix3 instance
|
static Matrix4 |
staticMatrix4
Temporary Matrix4 instance, used by native methods that return a Matrix4 instance
|
static Quaternion |
staticQuaternion
Temporary Quaternion instance, used by native methods that return a Quaternion instance
|
static Vector3 |
staticVector3
Temporary Vector3 instance, used by native methods that return a Vector3 instance
|
ACTIVE_TAG, BOX_PLANE_EPSILON, BT_DEFAULT_MAX_POOLS, BT_MPR_MAX_ITERATIONS, BT_MPR_TOLERANCE, btCollisionObjectDataName, btQuantizedBvhDataName, CONTACT_DIFF_EPSILON, DBVT_BP_ACCURATESLEEPING, DBVT_BP_ENABLE_BENCHMARK, DBVT_BP_PREVENTFALSEUPDATE, DBVT_BP_PROFILE, DBVT_ENABLE_BENCHMARK, DBVT_IMPL_GENERIC, DBVT_IMPL_SSE, DBVT_INT0_IMPL, DBVT_MERGE_IMPL, DBVT_SELECT_IMPL, DBVT_USE_INTRINSIC_SSE, DBVT_USE_MEMMOVE, DBVT_USE_TEMPLATE, DISABLE_DEACTIVATION, DISABLE_SIMULATION, EPA_MAX_FACES, EPA_MAX_ITERATIONS, EPA_MAX_VERTICES, G_HALF_PI, G_PI, G_ROOT2, G_ROOT3, G_SIGN_BITMASK, G_TWO_PI, G_UINT_INFINITY, GIM_ARRAY_GROW_FACTOR, GIM_ARRAY_GROW_INCREMENT, GIM_DEFAULT_HASH_TABLE_NODE_SIZE, GIM_DEFAULT_HASH_TABLE_SIZE, GIM_HASH_TABLE_GROW_FACTOR, GIM_INVALID_HASH, GIM_MIN_RADIX_SORT_SIZE, GIM_NUM_PRIME, GIMPACT_VS_PLANE_COLLISION, GJK_MAX_ITERATIONS, GUINT_BIT_COUNT, GUINT_EXPONENT, ISLAND_SLEEPING, kHist, MANIFOLD_CACHE_SIZE, MAX_NUM_PARTS_IN_BITS, MAX_PREFERRED_PENETRATION_DIRECTIONS, MAX_SUBTREE_SIZE_IN_BYTES, MAX_TRI_CLIPPING, NO_VIRTUAL_INTERFACE, NORMAL_CONTACT_AVERAGE, PARALELENORMALS, PLANEDIREPSILON, STATIC_SIMULATION_ISLAND_OPTIMIZATION, TEST_INTERNAL_OBJECTS, TRI_INFO_V0V1_CONVEX, TRI_INFO_V0V1_SWAP_NORMALB, TRI_INFO_V1V2_CONVEX, TRI_INFO_V1V2_SWAP_NORMALB, TRI_INFO_V2V0_CONVEX, TRI_INFO_V2V0_SWAP_NORMALB, USE_DISPATCH_REGISTRY_ARRAY, USE_OVERLAP_TEST_ON_REMOVES, USE_PATH_COMPRESSION, VORONOI_DEFAULT_EQUAL_VERTEX_THRESHOLD, VORONOI_SIMPLEX_MAX_VERTS, WANTS_DEACTIVATION| Constructor and Description |
|---|
Collision() |
public static final Vector3 staticVector3
public static final Pool<Vector3> poolVector3
public static final Quaternion staticQuaternion
public static final Pool<Quaternion> poolQuaternion
public static final Matrix3 staticMatrix3
public static final Pool<Matrix3> poolMatrix3
public static final Matrix4 staticMatrix4
public static boolean operatorEqualTo(btBroadphasePair a, btBroadphasePair b)
public static void setGOverlappingPairs(int value)
public static int getGOverlappingPairs()
public static void setGRemovePairs(int value)
public static int getGRemovePairs()
public static void setGAddedPairs(int value)
public static int getGAddedPairs()
public static void setGFindPairs(int value)
public static int getGFindPairs()
public static int getBT_NULL_PAIR()
public static boolean gdxCheckFilter(int filter,
int flag)
public static boolean gdxCheckFilter(btCollisionObject colObj0, btCollisionObject colObj1)
public static boolean Intersect(btDbvtAabbMm a, btDbvtAabbMm b)
public static boolean Intersect(btDbvtAabbMm a, Vector3 b)
public static float Proximity(btDbvtAabbMm a, btDbvtAabbMm b)
public static int Select(btDbvtAabbMm o, btDbvtAabbMm a, btDbvtAabbMm b)
public static void Merge(btDbvtAabbMm a, btDbvtAabbMm b, btDbvtAabbMm r)
public static boolean NotEqual(btDbvtAabbMm a, btDbvtAabbMm b)
public static boolean operatorEqualTo(btCompoundShapeChild c1, btCompoundShapeChild c2)
public static void setGCompoundChildShapePairCallback(SWIGTYPE_p_f_p_q_const__btCollisionShape_p_q_const__btCollisionShape__bool value)
public static SWIGTYPE_p_f_p_q_const__btCollisionShape_p_q_const__btCollisionShape__bool getGCompoundChildShapePairCallback()
public static void setGContactAddedCallback(SWIGTYPE_p_f_r_btManifoldPoint_p_q_const__btCollisionObjectWrapper_int_int_p_q_const__btCollisionObjectWrapper_int_int__bool value)
public static SWIGTYPE_p_f_r_btManifoldPoint_p_q_const__btCollisionObjectWrapper_int_int_p_q_const__btCollisionObjectWrapper_int_int__bool getGContactAddedCallback()
public static int getBT_SIMPLE_NULL_PAIR()
public static void setGOverlappingSimplePairs(int value)
public static int getGOverlappingSimplePairs()
public static void setGRemoveSimplePairs(int value)
public static int getGRemoveSimplePairs()
public static void setGAddedSimplePairs(int value)
public static int getGAddedSimplePairs()
public static void setGFindSimplePairs(int value)
public static int getGFindSimplePairs()
public static void btGenerateInternalEdgeInfo(btBvhTriangleMeshShape trimeshShape, btTriangleInfoMap triangleInfoMap)
public static void btAdjustInternalEdgeContacts(btManifoldPoint cp, btCollisionObjectWrapper trimeshColObj0Wrap, btCollisionObjectWrapper otherColObj1Wrap, int partId0, int index0, int normalAdjustFlags)
public static void btAdjustInternalEdgeContacts(btManifoldPoint cp, btCollisionObjectWrapper trimeshColObj0Wrap, btCollisionObjectWrapper otherColObj1Wrap, int partId0, int index0)
public static void setGContactBreakingThreshold(float value)
public static float getGContactBreakingThreshold()
public static void bt_calc_quantization_parameters(Vector3 outMinBound, Vector3 outMaxBound, Vector3 bvhQuantization, Vector3 srcMinBound, Vector3 srcMaxBound, float quantizationMargin)
public static void bt_quantize_clamp(IntBuffer out, Vector3 point, Vector3 min_bound, Vector3 max_bound, Vector3 bvhQuantization)
public static Vector3 bt_unquantize(IntBuffer vecIn, Vector3 offset, Vector3 bvhQuantization)
public static void bt_vec_blend(Vector3 vr, Vector3 va, Vector3 vb, float blend_factor)
public static void bt_plane_clip_polygon_collect(Vector3 point0, Vector3 point1, float dist0, float dist1, btVector3 clipped, SWIGTYPE_p_int clipped_count)
public static int bt_plane_clip_polygon(btVector4 plane, btVector3 polygon_points, int polygon_point_count, btVector3 clipped)
public static int bt_plane_clip_triangle(btVector4 plane, Vector3 point0, Vector3 point1, Vector3 point2, btVector3 clipped)
public static void bt_edge_plane(Vector3 e1, Vector3 e2, Vector3 normal, btVector4 plane)
public static void bt_closest_point_on_segment(Vector3 cp, Vector3 v, Vector3 e1, Vector3 e2)
public static int bt_line_plane_collision(btVector4 plane, Vector3 vDir, Vector3 vPoint, Vector3 pout, SWIGTYPE_p_float tparam, float tmin, float tmax)
public static void bt_segment_collision(Vector3 vA1, Vector3 vA2, Vector3 vB1, Vector3 vB2, Vector3 vPointA, Vector3 vPointB)
public static btCompoundShape btCreateCompoundFromGimpactShape(btGImpactMeshShape gimpactMesh, float depth)
public static long btPoolAlloc(long size)
public static long btPoolRealloc(long ptr,
long oldsize,
long newsize)
public static void btPoolFree(long ptr)
public static Vector3 gim_inertia_add_transformed(Vector3 source_inertia, Vector3 added_inertia, Matrix4 transform)
public static void gim_set_alloc_handler(SWIGTYPE_p_f_size_t__p_void fn)
public static void gim_set_alloca_handler(SWIGTYPE_p_f_size_t__p_void fn)
public static void gim_set_realloc_handler(SWIGTYPE_p_f_p_void_size_t_size_t__p_void fn)
public static void gim_set_free_handler(SWIGTYPE_p_f_p_void__void fn)
public static SWIGTYPE_p_f_size_t__p_void gim_get_alloc_handler()
public static SWIGTYPE_p_f_size_t__p_void gim_get_alloca_handler()
public static SWIGTYPE_p_f_p_void_size_t_size_t__p_void gim_get_realloc_handler()
public static SWIGTYPE_p_f_p_void__void gim_get_free_handler()
public static long gim_alloc(long size)
public static long gim_alloca(long size)
public static long gim_realloc(long ptr,
long oldsize,
long newsize)
public static void gim_free(long ptr)
public static void gim_simd_memcpy(long dst,
long src,
long copysize)
public static SWIGTYPE_p_GUINT getGim_prime_list()
public static SWIGTYPE_p_GUINT gim_next_prime(SWIGTYPE_p_GUINT number)
public static float gim_inv_sqrt(float f)
public static float gim_sqrt(float f)
public static void gim_radix_sort_rtokens(GIM_RSORT_TOKEN array, GIM_RSORT_TOKEN sorted, long element_count)
public static _btMprSupport_t btMprSimplexPointW(_btMprSimplex_t s, int idx)
public static void btMprSimplexSetSize(_btMprSimplex_t s, int size)
public static int btMprSimplexSize(_btMprSimplex_t s)
public static _btMprSupport_t btMprSimplexPoint(_btMprSimplex_t s, int idx)
public static void btMprSupportCopy(_btMprSupport_t d, _btMprSupport_t s)
public static void btMprSimplexSet(_btMprSimplex_t s, long pos, _btMprSupport_t a)
public static void btMprSimplexSwap(_btMprSimplex_t s, long pos1, long pos2)
public static int btMprIsZero(float val)
public static int btMprEq(float _a,
float _b)
public static void btMprVec3Set(btVector3 v, float x, float y, float z)
public static void btMprVec3Scale(btVector3 d, float k)
public static float btMprVec3Len2(btVector3 v)
public static void btMprVec3Normalize(btVector3 d)
public static void btPortalDir(_btMprSimplex_t portal, btVector3 dir)
public static int portalEncapsulesOrigin(_btMprSimplex_t portal, btVector3 dir)
public static int portalReachTolerance(_btMprSimplex_t portal, _btMprSupport_t v4, btVector3 dir)
public static int portalCanEncapsuleOrigin(_btMprSimplex_t portal, _btMprSupport_t v4, btVector3 dir)
public static void btExpandPortal(_btMprSimplex_t portal, _btMprSupport_t v4)
public static void btFindPos(_btMprSimplex_t portal, btVector3 pos)
public static float _btMprVec3PointSegmentDist2(btVector3 P, btVector3 x0, btVector3 b, btVector3 witness)
public static float btMprVec3PointTriDist2(btVector3 P, btVector3 x0, btVector3 B, btVector3 C, btVector3 witness)
public static void btFindPenetrTouch(_btMprSimplex_t portal, FloatBuffer depth, btVector3 dir, btVector3 pos)
public static void btFindPenetrSegment(_btMprSimplex_t portal, FloatBuffer depth, btVector3 dir, btVector3 pos)
Copyright © 2021. All rights reserved.