Example #1
0
 public void SetStiffness(float stiffness)
 {
     Box2DPINVOKE.b2WheelJoint_SetStiffness(swigCPtr, stiffness);
 }
Example #2
0
        public override b2Vec2 GetAnchorB()
        {
            b2Vec2 ret = new b2Vec2(Box2DPINVOKE.b2PulleyJoint_GetAnchorB(swigCPtr), true);

            return(ret);
        }
Example #3
0
        public override float GetReactionTorque(float inv_dt)
        {
            float ret = Box2DPINVOKE.b2PulleyJoint_GetReactionTorque(swigCPtr, inv_dt);

            return(ret);
        }
Example #4
0
 public b2ContactFilter() : this(Box2DPINVOKE.new_b2ContactFilter(), true)
 {
 }
Example #5
0
 public override void Dump()
 {
     Box2DPINVOKE.b2PulleyJoint_Dump(swigCPtr);
 }
Example #6
0
 public void SetIdentity()
 {
     Box2DPINVOKE.b2Rot_SetIdentity(swigCPtr);
 }
Example #7
0
        public b2Vec2 GetYAxis()
        {
            b2Vec2 ret = new b2Vec2(Box2DPINVOKE.b2Rot_GetYAxis(swigCPtr), true);

            return(ret);
        }
Example #8
0
        public override b2Vec2 GetAnchorA()
        {
            b2Vec2 ret = new b2Vec2(Box2DPINVOKE.b2WheelJoint_GetAnchorA(swigCPtr), true);

            return(ret);
        }
Example #9
0
        public b2Vec2 GetLocalAxisA()
        {
            b2Vec2 ret = new b2Vec2(Box2DPINVOKE.b2WheelJoint_GetLocalAxisA(swigCPtr), false);

            return(ret);
        }
Example #10
0
 public override void Dump()
 {
     Box2DPINVOKE.b2WheelJoint_Dump(swigCPtr);
 }
Example #11
0
 public override void Draw(b2Draw draw)
 {
     Box2DPINVOKE.b2WheelJoint_Draw(swigCPtr, b2Draw.getCPtr(draw));
 }
Example #12
0
        public float GetDamping()
        {
            float ret = Box2DPINVOKE.b2WheelJoint_GetDamping(swigCPtr);

            return(ret);
        }
Example #13
0
 public void SetDamping(float damping)
 {
     Box2DPINVOKE.b2WheelJoint_SetDamping(swigCPtr, damping);
 }
Example #14
0
        public float GetStiffness()
        {
            float ret = Box2DPINVOKE.b2WheelJoint_GetStiffness(swigCPtr);

            return(ret);
        }
Example #15
0
 public b2Rot(float angle) : this(Box2DPINVOKE.new_b2Rot__SWIG_1(angle), true)
 {
 }
Example #16
0
        public float GetJointTranslation()
        {
            float ret = Box2DPINVOKE.b2WheelJoint_GetJointTranslation(swigCPtr);

            return(ret);
        }
Example #17
0
 public void Set(float angle)
 {
     Box2DPINVOKE.b2Rot_Set(swigCPtr, angle);
 }
Example #18
0
        public float GetJointLinearSpeed()
        {
            float ret = Box2DPINVOKE.b2WheelJoint_GetJointLinearSpeed(swigCPtr);

            return(ret);
        }
Example #19
0
        public float GetAngle()
        {
            float ret = Box2DPINVOKE.b2Rot_GetAngle(swigCPtr);

            return(ret);
        }
Example #20
0
 public b2Vec3() : this(Box2DPINVOKE.new_b2Vec3__SWIG_0(), true)
 {
 }
Example #21
0
        public virtual bool ShouldCollide(b2Fixture fixtureA, b2Fixture fixtureB)
        {
            bool ret = Box2DPINVOKE.b2ContactFilter_ShouldCollide(swigCPtr, b2Fixture.getCPtr(fixtureA), b2Fixture.getCPtr(fixtureB));

            return(ret);
        }
Example #22
0
 public b2Vec3(float xIn, float yIn, float zIn) : this(Box2DPINVOKE.new_b2Vec3__SWIG_1(xIn, yIn, zIn), true)
 {
 }
Example #23
0
        public float GetCurrentLengthB()
        {
            float ret = Box2DPINVOKE.b2PulleyJoint_GetCurrentLengthB(swigCPtr);

            return(ret);
        }
Example #24
0
 public void SetZero()
 {
     Box2DPINVOKE.b2Vec3_SetZero(swigCPtr);
 }
Example #25
0
 internal b2PulleyJoint(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Box2DPINVOKE.b2PulleyJoint_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Example #26
0
 public void Set(float x_, float y_, float z_)
 {
     Box2DPINVOKE.b2Vec3_Set(swigCPtr, x_, y_, z_);
 }
Example #27
0
        public override b2Vec2 GetReactionForce(float inv_dt)
        {
            b2Vec2 ret = new b2Vec2(Box2DPINVOKE.b2PulleyJoint_GetReactionForce(swigCPtr, inv_dt), true);

            return(ret);
        }
Example #28
0
 public b2Rot() : this(Box2DPINVOKE.new_b2Rot__SWIG_0(), true)
 {
 }
Example #29
0
        public b2Vec2 GetGroundAnchorB()
        {
            b2Vec2 ret = new b2Vec2(Box2DPINVOKE.b2PulleyJoint_GetGroundAnchorB(swigCPtr), true);

            return(ret);
        }
Example #30
0
        public float GetMotorTorque(float inv_dt)
        {
            float ret = Box2DPINVOKE.b2WheelJoint_GetMotorTorque(swigCPtr, inv_dt);

            return(ret);
        }