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, 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, GIMPACT_VS_PLANE_COLLISION, ISLAND_SLEEPING, 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 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 void setGCompoundCompoundChildShapePairCallback(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 getGCompoundCompoundChildShapePairCallback()
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 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 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 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)
Copyright © 2017. All rights reserved.