public class btCollisionShape extends BulletBase
className| Constructor and Description |
|---|
btCollisionShape(long cPtr,
boolean cMemoryOwn)
Construct a new btCollisionShape, normally you should not need this constructor it's intended for low-level usage.
|
dispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btCollisionShape(long cPtr,
boolean cMemoryOwn)
public static long getCPtr(btCollisionShape obj)
public static btCollisionShape newDerivedObject(long swigCPtr, boolean owner)
public void getBoundingSphere(Vector3 center, SWIGTYPE_p_float radius)
public float getAngularMotionDisc()
public float getContactBreakingThreshold(float defaultContactThresholdFactor)
public void calculateTemporalAabb(Matrix4 curTrans, Vector3 linvel, Vector3 angvel, float timeStep, Vector3 temporalAabbMin, Vector3 temporalAabbMax)
public boolean isPolyhedral()
public boolean isConvex2d()
public boolean isConvex()
public boolean isNonMoving()
public boolean isConcave()
public boolean isCompound()
public boolean isSoftBody()
public boolean isInfinite()
public void setLocalScaling(Vector3 scaling)
public Vector3 getLocalScaling()
public void calculateLocalInertia(float mass,
Vector3 inertia)
public String getName()
public int getShapeType()
public Vector3 getAnisotropicRollingFrictionDirection()
public void setMargin(float margin)
public float getMargin()
public void setUserPointer(long userPtr)
public long getUserPointer()
public void setUserIndex(int index)
public int getUserIndex()
public int calculateSerializeBufferSize()
public String serialize(long dataBuffer, SWIGTYPE_p_btSerializer serializer)
public void serializeSingleShape(SWIGTYPE_p_btSerializer serializer)
Copyright © 2017. All rights reserved.