public btConvexShape getChildShape() { global::System.IntPtr cPtr = BulletPINVOKE.btUniformScalingShape_getChildShape__SWIG_0(swigCPtr); btConvexShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new btConvexShape(cPtr, false); return(ret); }
public static void objectQuerySingleInternal(btConvexShape castShape, btTransform convexFromTrans, btTransform convexToTrans, btCollisionObjectWrapper colObjWrap, btCollisionWorld.ConvexResultCallback resultCallback, float allowedPenetration) { BulletPINVOKE.btCollisionWorld_objectQuerySingleInternal(btConvexShape.getCPtr(castShape), btTransform.getCPtr(convexFromTrans), btTransform.getCPtr(convexToTrans), btCollisionObjectWrapper.getCPtr(colObjWrap), btCollisionWorld.ConvexResultCallback.getCPtr(resultCallback), allowedPenetration); if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } }
public static void objectQuerySingle(btConvexShape castShape, btTransform rayFromTrans, btTransform rayToTrans, btCollisionObject collisionObject, btCollisionShape collisionShape, btTransform colObjWorldTransform, btCollisionWorld.ConvexResultCallback resultCallback, float allowedPenetration) { BulletPINVOKE.btCollisionWorld_objectQuerySingle(btConvexShape.getCPtr(castShape), btTransform.getCPtr(rayFromTrans), btTransform.getCPtr(rayToTrans), btCollisionObject.getCPtr(collisionObject), btCollisionShape.getCPtr(collisionShape), btTransform.getCPtr(colObjWorldTransform), btCollisionWorld.ConvexResultCallback.getCPtr(resultCallback), allowedPenetration); if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } }
public void convexSweepTest(btConvexShape castShape, btTransform from, btTransform to, btCollisionWorld.ConvexResultCallback resultCallback) { BulletPINVOKE.btCollisionWorld_convexSweepTest__SWIG_1(swigCPtr, btConvexShape.getCPtr(castShape), btTransform.getCPtr(from), btTransform.getCPtr(to), btCollisionWorld.ConvexResultCallback.getCPtr(resultCallback)); if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(btConvexShape obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public btUniformScalingShape(btConvexShape convexChildShape, float uniformScalingFactor) : this(BulletPINVOKE.new_btUniformScalingShape(btConvexShape.getCPtr(convexChildShape), uniformScalingFactor), true) { }
btKinematicCharacterController( btPairCachingGhostObject* ghostObject, btConvexShape* convexShape, double stepHeight, int upAxis = 1 );