Codota Logo
com.jme3.bullet.joints
Code IndexAdd Codota to your IDE (free)

How to use com.jme3.bullet.joints

Best Java code snippets using com.jme3.bullet.joints (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: jMonkeyEngine/jmonkeyengine

/**
 * @param pivotA local translation of the joint connection point in node A
 * @param pivotB local translation of the joint connection point in node B
 */
public SliderJoint(PhysicsRigidBody nodeA, PhysicsRigidBody nodeB, Vector3f pivotA, Vector3f pivotB, Matrix3f rotA, Matrix3f rotB, boolean useLinearReferenceFrameA) {
  super(nodeA, nodeB, pivotA, pivotB);
  this.rotA=rotA;
  this.rotB=rotB;
  this.useLinearReferenceFrameA=useLinearReferenceFrameA;
  createJoint();
}
origin: jMonkeyEngine/jmonkeyengine

/**
 * Creates a new HingeJoint
 * @param pivotA local translation of the joint connection point in node A
 * @param pivotB local translation of the joint connection point in node B
 */
public HingeJoint(PhysicsRigidBody nodeA, PhysicsRigidBody nodeB, Vector3f pivotA, Vector3f pivotB, Vector3f axisA, Vector3f axisB) {
  super(nodeA, nodeB, pivotA, pivotB);
  this.axisA = axisA;
  this.axisB = axisB;
  createJoint();
}
origin: jMonkeyEngine/jmonkeyengine

/**
 * @param pivotA local translation of the joint connection point in node A
 * @param pivotB local translation of the joint connection point in node B
 */
public Point2PointJoint(PhysicsRigidBody nodeA, PhysicsRigidBody nodeB, Vector3f pivotA, Vector3f pivotB) {
  super(nodeA, nodeB, pivotA, pivotB);
  createJoint();
}
origin: jMonkeyEngine/jmonkeyengine

@Override
public void write(JmeExporter ex) throws IOException {
  super.write(ex);
  OutputCapsule cap = ex.getCapsule(this);
  cap.write(getDamping(), "damping", 1.0f);
  cap.write(getTau(), "tau", 0.3f);
  cap.write(getImpulseClamp(), "impulseClamp", 0f);
}
origin: jMonkeyEngine/jmonkeyengine

@Override
public void read(JmeImporter im) throws IOException {
  super.read(im);
  createJoint();
  InputCapsule cap=im.getCapsule(this);
  setDamping(cap.readFloat("damping", 1.0f));
  setDamping(cap.readFloat("tau", 0.3f));
  setDamping(cap.readFloat("impulseClamp", 0f));
}
origin: jMonkeyEngine/jmonkeyengine

private native float getImpulseClamp(long objectId);
origin: jMonkeyEngine/jmonkeyengine

/**
 * @param pivotA local translation of the joint connection point in node A
 * @param pivotB local translation of the joint connection point in node B
 */
public ConeJoint(PhysicsRigidBody nodeA, PhysicsRigidBody nodeB, Vector3f pivotA, Vector3f pivotB, Matrix3f rotA, Matrix3f rotB) {
  super(nodeA, nodeB, pivotA, pivotB);
  this.rotA = rotA;
  this.rotB = rotB;
  createJoint();
}
origin: jMonkeyEngine/jmonkeyengine

private native void setDamping(long objectId, float value);
origin: jMonkeyEngine/jmonkeyengine

private native void setDampingLimAng(long objectId, float value);
origin: jMonkeyEngine/jmonkeyengine

private native void setDampingOrthoLin(long objectId, float value);
origin: jMonkeyEngine/jmonkeyengine

private native float getSoftnessOrthoAng(long objectId);
origin: jMonkeyEngine/jmonkeyengine

private native void setTau(long objectId, float value);
origin: jMonkeyEngine/jmonkeyengine

private native float getUpperLinLimit(long objectId);
origin: jMonkeyEngine/jmonkeyengine

private native void setDampingDirLin(long objectId, float value);
origin: jMonkeyEngine/jmonkeyengine

private native void setRestitutionLimLin(long objectId, float value);
origin: jMonkeyEngine/jmonkeyengine

private native float getDampingLimLin(long objectId);
origin: jMonkeyEngine/jmonkeyengine

/**
 * Test whether this joint's motor is enabled.
 *
 * @return true if enabled, otherwise false
 */
public boolean getEnableMotor() {
  return getEnableAngularMotor(objectId);
}
origin: jMonkeyEngine/jmonkeyengine

native void setEquilibriumPoint(long objctId);
/**
origin: jMonkeyEngine/jmonkeyengine

private native void setAngularOnly(long objectId, boolean angularOnly);
origin: jMonkeyEngine/jmonkeyengine

private native float getMaxMotorImpulse(long objectId);
com.jme3.bullet.joints

Most used classes

  • SixDofJoint
    A joint based on Bullet's btGeneric6DofConstraint.From the Bullet manual: This generic constraint ca
  • ConeJoint
    A joint based on Bullet's btConeTwistConstraint.From the Bullet manual: To create ragdolls, the cone
  • HingeJoint
    From bullet manual: Hinge constraint, or revolute joint restricts two additional angular degrees of
  • Point2PointJoint
    From bullet manual: Point to point constraint, also known as ball socket joint limits the translatio
  • SliderJoint
    From bullet manual: The slider constraint allows the body to rotate around one axis and translate al
  • TranslationalLimitMotor,
  • PhysicsJoint,
  • SixDofSpringJoint
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now