Class PxJoint

    • Constructor Detail

      • PxJoint

        protected PxJoint()
      • PxJoint

        protected PxJoint​(long address)
    • Method Detail

      • wrapPointer

        public static PxJoint wrapPointer​(long address)
      • getRelativeLinearVelocity

        public PxVec3 getRelativeLinearVelocity()
        Returns:
        WebIDL type: PxVec3 [Value]
      • getRelativeAngularVelocity

        public PxVec3 getRelativeAngularVelocity()
        Returns:
        WebIDL type: PxVec3 [Value]
      • setBreakForce

        public void setBreakForce​(float force,
                                  float torque)
        Parameters:
        force - WebIDL type: float
        torque - WebIDL type: float
      • setConstraintFlag

        public void setConstraintFlag​(int flag,
                                      boolean value)
        Parameters:
        flag - WebIDL type: PxConstraintFlagEnum [enum]
        value - WebIDL type: boolean
      • setInvMassScale0

        public void setInvMassScale0​(float invMassScale)
        Parameters:
        invMassScale - WebIDL type: float
      • getInvMassScale0

        public float getInvMassScale0()
        Returns:
        WebIDL type: float
      • setInvMassScale1

        public void setInvMassScale1​(float invMassScale)
        Parameters:
        invMassScale - WebIDL type: float
      • getInvMassScale1

        public float getInvMassScale1()
        Returns:
        WebIDL type: float
      • setName

        public void setName​(java.lang.String name)
        Parameters:
        name - WebIDL type: DOMString [Const]
      • getName

        public java.lang.String getName()
        Returns:
        WebIDL type: DOMString [Const]
      • release

        public void release()
        Overrides:
        release in class PxBase