Ejemplo n.º 1
0
        public btJointFeedback getJointFeedback()
        {
            global::System.IntPtr cPtr = BulletPINVOKE.btTypedConstraint_getJointFeedback__SWIG_0(swigCPtr);
            btJointFeedback       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new btJointFeedback(cPtr, false);

            return(ret);
        }
Ejemplo n.º 2
0
 public void setJointFeedback(btJointFeedback jointFeedback)
 {
     BulletPINVOKE.btTypedConstraint_setJointFeedback(swigCPtr, btJointFeedback.getCPtr(jointFeedback));
 }
Ejemplo n.º 3
0
		void setJointFeedback( btJointFeedback jointFeedback )
		{
			m_jointFeedback = jointFeedback;
		}
Ejemplo n.º 4
0
		internal btTypedConstraint( btObjectTypes type, btRigidBody rbA, btRigidBody rbB )
		{
			base.Initialize( type );
			m_userConstraintType = ( -1 );
			m_userConstraintPtr = ( (object)-1 );
			m_breakingImpulseThreshold = ( btScalar.SIMD_INFINITY );
			m_isEnabled = ( true );
			m_needsFeedback = ( false );
			m_overrideNumSolverIterations = ( -1 );
			m_rbA = ( rbA );
			m_rbB = ( rbB );
			m_appliedImpulse = ( (double)( 0.0 ) );
			m_dbgDrawSize = ( DEFAULT_DEBUGDRAW_SIZE );
			m_jointFeedback = ( null );
		}
Ejemplo n.º 5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(btJointFeedback obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }